Do I got any votes for TODO-124?

The proposal is to allow control over how the session interacts with the second-level cache. Options are:

  CacheMode.NORMAL
  CacheMode.IGNORE
  CacheMode.PUT
  CacheMode.GET

I think its useful to have sessions that ignore the second level cache in some circumstances....

sounds like a good flexibility. But what are a specific circumstance ?

I see CacheMode.PUT as A "want to load everything into cache indepdent on what is already there" ?
CacheMode.GET as a "want everything as fast as possible, but don't waste time putting in the cache for my few writes"
CacheMode.IGNORE as "i want to be 100% sure i'm getting the most current data from the db and im not going to contribute anything new"....





-- Max Rydahl Andersen callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://jboss.com


------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to