use of org.hibernate.event.spi.EntityCopyObserverFactory in project hibernate-reactive by hibernate.
the class DefaultReactiveMergeEventListener method createEntityCopyObserver.
private EntityCopyObserver createEntityCopyObserver(SessionFactoryImplementor sessionFactory) {
final ServiceRegistry serviceRegistry = sessionFactory.getServiceRegistry();
final EntityCopyObserverFactory configurationService = serviceRegistry.getService(EntityCopyObserverFactory.class);
return configurationService.createEntityCopyObserver();
}
Aggregations