enforceOgmConfig( protectiveCopy );
//HEM only builds an EntityManagerFactory when HibernatePersistence.class.getName() is the PersistenceProvider
//that's why we override it when
//new DelegatorPersistenceUnitInfo(info)
final EntityManagerFactory coreEMF = delegate.createContainerEntityManagerFactory(
new DelegatorPersistenceUnitInfo(
info
),
protectiveCopy
);
return new OgmEntityManagerFactory( coreEMF );