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