enforceOgmConfig( protectiveCopy );
protectiveCopy.put( HibernatePersistence.PROVIDER, delegate.getClass().getName() );
final EntityManagerFactory coreEMF = delegate.createEntityManagerFactory(
emName, protectiveCopy
);
return new OgmEntityManagerFactory( coreEMF );
}
}
}
//not the right provider
return null;