Skip to content

Commit 3441edc

Browse files
committed
Update hibernate provider to hibernate5 updated provider:
org.hibernate.jpa.HibernatePersistenceProvider Exists since 5.0.0.Final https://github.com/hibernate/hibernate-orm/blob/5.0.0.Final/hibernate-entitymanager/src/main/java/org/hibernate/jpa/HibernatePersistenceProvider.java
1 parent 8c833f4 commit 3441edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate5/src/test/resources/META-INF/persistence.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
66

77
<persistence-unit name="persistenceUnit" transaction-type="RESOURCE_LOCAL">
8-
<provider>org.hibernate.ejb.HibernatePersistence</provider>
8+
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
99
<class>com.fasterxml.jackson.datatype.hibernate5.data.Contrato</class>
1010
<class>com.fasterxml.jackson.datatype.hibernate5.data.Customer</class>
1111
<class>com.fasterxml.jackson.datatype.hibernate5.data.Employee</class>

0 commit comments

Comments
 (0)