entityPersisters = new HashMap();
Map classMeta = new HashMap();
classes = cfg.getClassMappings();
while ( classes.hasNext() ) {
PersistentClass model = (PersistentClass) classes.next();
model.prepareTemporaryTables( mapping, settings.getDialect() );
String cacheRegion = model.getRootClass().getCacheRegionName();
CacheConcurrencyStrategy cache = (CacheConcurrencyStrategy) caches.get(cacheRegion);
if (cache==null) {
cache = CacheFactory.createCache(
model.getCacheConcurrencyStrategy(),