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.
Do we really need this?
At some point stuff needs to go. This has been around as a deprecated option for a very long time.
Commented on JBEAP-15634 as well.