[Solved] How To configure Hibernate as a JPA provider for Payara/Glassfish 4.1? [closed]


Found the answer in this article :
Hibernate 5 in Payara

Briefly, add Hibernate dependencies in your pom.xml, replace payara/glassfish jboss-logging.jar /lib with latest and then restart server.

Your project should have in the persistence.xml
its provider org.hibernate.jpa.HibernatePersistenceProvider
and property name=”hibernate.transaction.jta.platform” value=”org.hibernate.service.jta.platform.internal.SunOneJtaPlatform”

solved How To configure Hibernate as a JPA provider for Payara/Glassfish 4.1? [closed]