-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: How to clear second-level OSCache?
PostPosted: Mon Jun 25, 2007 12:51 pm 
Newbie

Joined: Fri Mar 30, 2007 5:23 pm
Posts: 16
Location: New York, NY
Hi,

I was wondering if there is a trick to completely clearing/flushing Hibernate's second-level cache (I am using the OSCache implementation). I am using both persistent object caching and query caching. I've been trying to completely flush out the cache, but it doesn't seem to work for the Hibernate stuff - attacking it from the OSCache API, I've been using the GeneralCacheAdministrator and the ServletCacheAdministrator. That works great for flushing the non-Hibernate related caching I've been doing, but doesn't seem to have any effect on the Hibernate cache. So, I'm thinking there must be a way to do it using the Hibernate API; however, perusing the Javadocs and the Google hasn't yielded anything helpful.

So... any takers? Thanks!

Mat Brown


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 25, 2007 8:49 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
SessionFactory has the API methods.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.