Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21191/NHibernate/Impl
Modified Files:
SessionFactoryImpl.cs
Log Message:
Fixed another Cache reference for Collections. Not sure that I like the
property name for the Cache to be different between persitent Collections
(CacheConcurrenctyStrategy) and persistent Clasess (Cache). There is a
method in Collections.Cache() and that causes compile conflicts.
Index: SessionFactoryImpl.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl/SessionFactoryImpl.cs,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** SessionFactoryImpl.cs 13 May 2004 13:45:16 -0000 1.17
--- SessionFactoryImpl.cs 16 May 2004 03:53:26 -0000 1.18
***************
*** 651,655 ****
foreach(CollectionPersister p in collectionPersisters.Values)
{
! if ( p.HasCache ) p.Cache.Destroy();
}
--- 651,655 ----
foreach(CollectionPersister p in collectionPersisters.Values)
{
! if ( p.HasCache ) p.CacheConcurrencyStrategy.Destroy();
}
|