This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Caching » EhCache
Bookmark "Second level cache ON / OFF" Watch "Second level cache ON / OFF" New topic

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
Bill Gorder

Joined: Mar 07, 2010
Posts: 1646

Not sure how much can be done at runtime. See this link though

[How To Ask Questions][Read before you PM me]
I agree. Here's the link:
subject: Second level cache ON / OFF
Similar Threads
is it hibernate doing
Hibernate- why my query results are caching?
What does a SessionFactory object cache?
Difference between Session Cache for load and query cache ?
Need help with second level cache