• Post Reply Bookmark Topic Watch Topic
  • New Topic

Selectively enabling entity to be cached

 
vijay jacob
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using hibernate annotation

If we mark the class with @cachable will it make that class cachable .Also i i provide the stratergy in @cache.


Please clarify
 
vijay jacob
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Do we need to configure EHCache.xml , if we are just using pure hibernate not entity manager.If not when do we configure it?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!