Yeeeeaah!!!! I love you guys! :-D Hei Kevin, this rocks, congratulations !!! Thank you very much
El jue, 10-08-2006 a las 13:56 +0100, Carlos Ble escribió: > No, I didnt. Something like > [HasMany(typeof(ModelName), Cache=CacheEnum.ReadWrite)] ? > Im gonna try, thanks > > > El jue, 10-08-2006 a las 15:44 +0300, Ayende Rahien escribió: > > Did you add the attribute to the collections as well? > > > > On 8/10/06, Carlos Ble <[EMAIL PROTECTED]> wrote: > > El jue, 10-08-2006 a las 06:12 -0600, Kevin Williams escribió: > > > Carlos Ble wrote: > > > > Hi guys! > > > > Im trying to enable NHibernate second level cache > > > > > > > > (http://www.castleproject.org/index.php/ActiveRecord:How_to:Enable_second_level_cache) > > > > using SysCache but it seems not working. Using Prevalence > > it creates a > > > > directory for every model and write data in files but it > > is extremly > > > > heavy :( > > > > Has anybody experienced AR cache performance? > > > > Thanks > > > > > > > > > > > The Prevalence cache sucks. No one uses it. > > > > > > What seems to not work with SysCache? > > > > Nothing is cached, I enabled postgresql debug and every time I > > reload > > the same url (because this is MonoRail + ActiveRecord) queries > > are > > always performed in database. Im running in Mono. > > In the activerecord section of web.config I added this: > > <add key="hibernate.cache.provider_class " > > > > value="NHibernate.Caches.SysCache.SysCacheProvider,NHibernate.Caches.SysCache" > > /> > > <add key="relativeExpiration" value="300" /> > > And for every model I set the attribute with Cache = ReadOnly > > or > > ReadWrite: [ActiveRecord( Cache=CacheEnum.ReadWrite )] > > Thanks > > > > > > > > -- > > Carlos Ble > > Shidix Technologies > > www.shidix.com/carlosble > > > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > CastleProject-users mailing list > > CastleProject-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/castleproject-users > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ CastleProject-users mailing > > list CastleProject-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/castleproject-users -- Carlos Ble Shidix Technologies www.shidix.com/carlosble ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ CastleProject-users mailing list CastleProject-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/castleproject-users