Skip to content

Instantly share code, notes, and snippets.

View Qleoz12's full-sized avatar
🎯
Focusing

qleoz12 Qleoz12

🎯
Focusing
View GitHub Profile
@Qleoz12
Qleoz12 / pom.xml
Created May 6, 2020 03:48 — forked from rodrik/pom.xml
Sample pom.xml file to enable spring-boot on WAS 8.5.5 running jdk1.6
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.rodrik</groupId>
<artifactId>spring-boot-was</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<java.version>1.6</java.version>
</properties>
@Qleoz12
Qleoz12 / HibernatePersistenceProviderResolver.java
Last active July 21, 2020 17:45 — forked from jeffsheets/HibernatePersistenceProviderResolver.java
Use JPA 2.1 and Hibernate 4.3.11 on Websphere 8.5.5.x FIX Validate Using
import org.hibernate.jpa.HibernatePersistenceProvider;
import org.springframework.context.annotation.Configuration;
import javax.annotation.PostConstruct;
import javax.persistence.spi.PersistenceProvider;
import javax.persistence.spi.PersistenceProviderResolver;
import javax.persistence.spi.PersistenceProviderResolverHolder;
import java.util.Collections;
import java.util.List;