• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB3 and Hibernate Second Level Cache Invalidation

 
Anurag Bhatia
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the hibernate second level cache for my ejb3 entity beans for entity caching as well as query caching. Does anyone have any idea on how to invalidate the hibernate second level cache?
I tried to use the evictXXXX() methods in the sessionfactory but had no success.

--Anurag
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!