- 
        1. Re: Deprecated Persistence Provider: org.hibernate.ejb.HibernatePersistencesmarlow Oct 17, 2013 9:45 AM (in response to juergen.zimmermann)1 of 1 people found this helpfulI'm not sure why that is logged when the org.hibernate.ejb.HibernatePersistence provider is loaded but not used. It sounds like a premature warning to me. 
- 
        2. Re: Deprecated Persistence Provider: org.hibernate.ejb.HibernatePersistencesmarlow Oct 17, 2013 9:47 AM (in response to juergen.zimmermann)Could you create a https://hibernate.onjira.com/browse/HHH jira to move the warning to when the org.hibernate.ejb.HibernatePersistence is used instead of when its loaded. 
- 
        4. Re: Deprecated Persistence Provider: org.hibernate.ejb.HibernatePersistencejuergen.zimmermann Oct 18, 2013 3:53 AM (in response to juergen.zimmermann)Resolved in the latest Hibernate snapshot 
- 
        5. Re: Deprecated Persistence Provider: org.hibernate.ejb.HibernatePersistencejftepedino Jul 6, 2014 8:09 PM (in response to juergen.zimmermann)This warning still appears using Hibernate 4.3.5 Final. Jul 06, 2014 8:22:59 PM org.hibernate.ejb.HibernatePersistence logDeprecation WARN: HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; use [org.hibernate.jpa.HibernatePersistenceProvider] instead. Even if I use this META-INF/persistence.xml declaration: <persistence-unit name="trading_entities" transaction-type="RESOURCE_LOCAL"> <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> <class>...</class> I've just found that this issue is still open, see: [HHH-9141] Wrong warning about deprecated persistence provider - Hibernate JIRA 
- 
        6. Re: Deprecated Persistence Provider: org.hibernate.ejb.HibernatePersistencesmarlow Jul 7, 2014 10:27 AM (in response to jftepedino)I believe that this will change for Hibernate 5.0, you could disable logging of Hibernate warnings until then. 
 
     
    