-->
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.  [ 1 post ] 
Author Message
 Post subject: Secand level cache eviction and disabling in JPA
PostPosted: Thu Oct 29, 2009 7:02 am 
Newbie

Joined: Thu Oct 29, 2009 6:28 am
Posts: 1
Hi,
I am using hibernate with JPA.
I want to programtically evict second level class and collection cache and disable second level cache usage for class and collection based on a certain condition without modifying the existing annotations or configuration. I know this can be done for query caching by changing the cachemode for the query hint in JPA. Is there any way to do the same for class and collection cache? I was not able to find anything specific in hibernate documentation for this. Any help is appreciated.

Thanks in advance
Santhosh


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

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.