[hibernate-commits] Hibernate SVN: r10698 - trunk/Hibernate3/src/org/hibernate/impl
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Thu Nov 2 15:00:54 EST 2006
Author: steve.ebersole at jboss.com
Date: 2006-11-02 15:00:53 -0500 (Thu, 02 Nov 2006)
New Revision: 10698
Modified:
trunk/Hibernate3/src/org/hibernate/impl/SessionFactoryImpl.java
Log:
HHH-1767 : incorrect warnings when building collection caches
Modified: trunk/Hibernate3/src/org/hibernate/impl/SessionFactoryImpl.java
===================================================================
--- trunk/Hibernate3/src/org/hibernate/impl/SessionFactoryImpl.java 2006-11-02 19:28:32 UTC (rev 10697)
+++ trunk/Hibernate3/src/org/hibernate/impl/SessionFactoryImpl.java 2006-11-02 20:00:53 UTC (rev 10698)
@@ -217,7 +217,7 @@
model.isMutable(),
settings,
properties
- );
+ );
if (cache!=null) {
caches.put(cacheRegion, cache);
allCacheRegions.put( cache.getRegionName(), cache.getCache() );
@@ -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