|
It looks like the bug is here: https://github.com/hibernate/hibernate-jpa-api/blob/master/src/main/java/javax/persistence/spi/PersistenceProviderResolverHolder.java#L146
PersistenceProviderResolverHolder.CachingPersistenceProviderResolver.loadResolverClasses() ensures that the persistence provide ending with "HibernatePersistence" is first in the list. The problem is that HibernatePersistence is deprecated. I think it should be checking for "HibernatePersistenceProvider" instead.
Steve Ebersole, Should this be moved to JPA project, or should I try to find a workaround within hibernate-entitymanager?
|