regionConfigBuilders.computeIfAbsent( bootEntityDescriptor.getRootClass().getCacheRegionName(), DomainDataRegionConfigImpl.Builder::new ) .addEntityConfig( bootEntityDescriptor, accessType );
if ( ! names.add( persistentClass.getRootClass().getCacheRegionName() ) ) { continue; createCache( cacheManager, persistentClass.getRootClass().getCacheRegionName(), prefixRegions );
private void addEntityCachingConfig( EntityTypeDescriptor runtimeDescriptor, RootClass bootDescriptor, AccessType accessType) { final DomainDataRegionConfigImpl.Builder builder = locateBuilder( bootDescriptor.getCacheRegionName() ); builder.addEntityConfig( bootDescriptor, accessType ); }
private void addNaturalIdCachingConfig( EntityTypeDescriptor runtimeDescriptor, RootClass bootDescriptor, AccessType accessType) { final DomainDataRegionConfigImpl.Builder configBuilder = locateBuilder( bootDescriptor.getCacheRegionName() ); configBuilder.addNaturalIdConfig( bootDescriptor, accessType ); }
while ( classes.hasNext() ) { PersistentClass model = (PersistentClass) classes.next(); String cacheRegion = model.getRootClass().getCacheRegionName(); CacheConcurrencyStrategy cache = (CacheConcurrencyStrategy) caches.get(cacheRegion); if (cache==null) {
PersistentClass model = (PersistentClass) classes.next(); model.prepareTemporaryTables( mapping, settings.getDialect() ); String cacheRegion = model.getRootClass().getCacheRegionName(); CacheConcurrencyStrategy cache = (CacheConcurrencyStrategy) caches.get(cacheRegion); if (cache==null) {
final PersistentClass model = (PersistentClass) classes.next(); model.prepareTemporaryTables( mapping, getDialect() ); final String cacheRegionName = cacheRegionPrefix + model.getRootClass().getCacheRegionName();
final PersistentClass model = (PersistentClass) classes.next(); model.prepareTemporaryTables( mapping, getDialect() ); final String cacheRegionName = cacheRegionPrefix + model.getRootClass().getCacheRegionName();