File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EhCache and the fly likes Second level cache ON / OFF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Caching » EhCache
Bookmark "Second level cache ON / OFF" Watch "Second level cache ON / OFF" New topic
Author

Second level cache ON / OFF

ramesh kancherla
Ranch Hand

Joined: May 01, 2008
Posts: 124
hi team,

In my Web application We are using Hibernate with EHcache.

How to ON or OFF Second level cache (EhCahe) for Webapplication.

What configuration we have to use for OFF the cache when user want to take result with out second level cache

-------------Dynamically have to change second level cache ON OFF modes-----------

can any one please suggest

Thanks & Regards
Ramesh
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

Not sure how much can be done at runtime. See this link though
http://ehcache.org/documentation/user-guide/configuration#dynamically-changing-cache-configuration


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Second level cache ON / OFF