We're updating the issue view to help you get more done. 

Wrong warning about deprecated persistence provider

Description

I upgraded my current WildFly snapshot from Hibernate 4.3.0.Beta4 to Beta5 (and used the snapshot for Hibernate core due to HHH-8613).

However, I'm getting the warning below even if I declare a persistence provider in META-INF/persistence.xml:

1 2 3 <persistence-unit name="shopPU"> <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> ...

The warning

1 HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; use [org.hibernate.jpa.HibernatePersistenceProvider] instead.

Environment

None

Status

Assignee

Steve Ebersole

Reporter

Juergen Zimmermann

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

4.3.0.Beta5

Priority

Major