See discussion on HHH-8625, but in general at the moment we log this deprecation warning from {{HibernatePersistence#getProviderUtil}} when HibernatePersistence may not be the provider actually being used.
The problem comes from the way JPA defines the behavior of {{javax.persistence.Persistence#isLoaded}} forcing it to ask all known providers whether the data is loaded (due to static, non-contextual calls).
The proposed solution is to simply log this deprecation warning on: * {{createEntityManagerFactory}} * {{createContainerEntityManagerFactory}} * {{generateSchema}}
(as well as on calls to internal {{getEntityManagerFactoryBuilderOrNull}})
|