final ClassDescriptorResolver cdResolver,
final PersistenceFactory persistenceFactory)
throws MappingException {
if (_cacheFactoryRegistry == null) {
AbstractProperties properties = CPAProperties.getInstance();
_cacheFactoryRegistry = new CacheFactoryRegistry(properties);
}
_connectionFactory = connectionFactory;
_persistenceFactory = persistenceFactory;