This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EhCache and the fly likes Second level cache ON / OFF Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Caching » EhCache
Reply 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: 1282

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Second level cache ON / OFF
 
Similar Threads
Hibernate- why my query results are caching?
Need help with second level cache
is it hibernate doing
Difference between Session Cache for load and query cache ?
What does a SessionFactory object cache?