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
|