org.hibernate.ejb.HibernatePersistence can no longer be used as a persistence provider name

Description

org.hibernate.ejb.HibernatePersistence was deprecated in 4.3 and removed in 5.2. It needs to remain an alternate name for the Hibernate persistence provider.

This fix allows org.hibernate.ejb.HibernatePersistence as an alternate persistence provider, and logs a message deprecation message that indicates that org.hibernate.jpa.HibernatePersistenceProvider will be used instead.

Environment

None

Status

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure