This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Second level cache ON / OFF
 
Similar Threads
Need help with second level cache
Hibernate- why my query results are caching?
Difference between Session Cache for load and query cache ?
is it hibernate doing
What does a SessionFactory object cache?