[hibernate-commits] Hibernate SVN: r10699 - branches/Branch_3_2/Hibernate3/src/org/hibernate/impl
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Thu Nov 2 15:01:05 EST 2006
Author: steve.ebersole at jboss.com
Date: 2006-11-02 15:01:04 -0500 (Thu, 02 Nov 2006)
New Revision: 10699
Modified:
branches/Branch_3_2/Hibernate3/src/org/hibernate/impl/SessionFactoryImpl.java
Log:
HHH-1767 : incorrect warnings when building collection caches
Modified: branches/Branch_3_2/Hibernate3/src/org/hibernate/impl/SessionFactoryImpl.java
===================================================================
--- branches/Branch_3_2/Hibernate3/src/org/hibernate/impl/SessionFactoryImpl.java 2006-11-02 20:00:53 UTC (rev 10698)
+++ branches/Branch_3_2/Hibernate3/src/org/hibernate/impl/SessionFactoryImpl.java 2006-11-02 20:01:04 UTC (rev 10699)
@@ -194,7 +194,7 @@
settings.getDefaultCatalogName(),
settings.getDefaultSchemaName(),
(RootClass) model
- );
+ );
identifierGenerators.put( model.getEntityName(), generator );
}
}
@@ -238,11 +238,11 @@
while ( collections.hasNext() ) {
Collection model = (Collection) collections.next();
CacheConcurrencyStrategy cache = CacheFactory.createCache(
- model.getCacheConcurrencyStrategy(),
- model.getCacheRegionName(),
- true,
- settings,
- properties
+ model.getCacheConcurrencyStrategy(),
+ model.getCacheRegionName(),
+ model.isMutable(),
+ settings,
+ properties
);
if ( cache != null ) {
allCacheRegions.put( cache.getRegionName(), cache.getCache() );
More information about the hibernate-commits
mailing list