Hi,

I am a bit confused regarding the configuration of syscache expiration
in hibernate.cfg.xml and App.config/web.config.

hibernate.cfg.xml:

         <property name="relativeExpiration">500</property>
     AND/OR
         <property name="expiration">600</property>


App.config:

     <configuration>
       <configSections>
         <section name="syscache"
type="NHibernate.Caches.SysCache.SysCacheSectionHandler,
NHibernate.Caches.SysCache" />
       </configSections>

       <syscache>
         <cache region="Edition" expiration="1" priority="3" />
     AND/OR
         <cache region="Edition" relativeExpiration="1" priority="3" /
>
       </syscache>
     </configuration>


I have seen examples using expiration-properties and also examples
using relativeExpiration-properties in both files. Are both properties
valid for different purposes or is one the old and one the new
notation?

Uses expiration in both cases:
-http://forum.hibernate.org/viewtopic.php?t=971633&highlight=syscache
+expiration
-http://www.klopfenstein.net/lorenz.aspx/using-syscache-as-secondary-
cache-in-nhibernate

Uses relativeExpiration in web.config:
-http://forum.hibernate.org/viewtopic.php?t=971542&highlight=syscache
+expiration

Uses both in hibernate.cfg.xml:
-http://forum.hibernate.org/viewtopic.php?t=973235&highlight=syscache
+expiration
http://forum.hibernate.org/viewtopic.php?t=963657&highlight=syscache+expiration


I appreciate any clarification on this.

Best,
Ronald
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to