|
When bootstrapping hibernate using the SE mechanism of
Persistence.createEntityManagerFactory(<persistenceUnitName>)
having configured a hibernate.xml file with jpa provider
<persistence-unit name="<persistenceUnitName>" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
a deprecation warning is logged when bootstrapping hibernate indicating a deprecated provider is configured even though the provider is already updated to the proposed one:
org.hibernate.ejb.HibernatePersistence - HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; use [org.hibernate.jpa.HibernatePersistenceProvider] instead.
Last change regarding this deprecation warning was
HHH-8735
that propably caused this issue.
|