HHH-13395 Fix sourcing of service registry
This commit is contained in:
parent
3575903139
commit
6c1db681fe
|
@ -43,7 +43,7 @@ public class EnversIntegrator implements Integrator {
|
|||
Metadata metadata,
|
||||
BootstrapContext bootstrapContext,
|
||||
SessionFactoryImplementor sessionFactory) {
|
||||
final ServiceRegistry serviceRegistry = bootstrapContext.getServiceRegistry();
|
||||
final ServiceRegistry serviceRegistry = sessionFactory.getServiceRegistry();
|
||||
final EnversService enversService = serviceRegistry.getService( EnversService.class );
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Reference in New Issue