aspose 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 Java 8 in Action this week in the Java 8 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: 120
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: 1632
    
    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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Second level cache ON / OFF
 
Similar Threads
Need help with second level cache
Hibernate- why my query results are caching?
is it hibernate doing
Difference between Session Cache for load and query cache ?
What does a SessionFactory object cache?