aspose file tools*
The moose likes Object Relational Mapping and the fly likes What is isGettable method in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "What is isGettable method in hibernate " Watch "What is isGettable method in hibernate " New topic
Author

What is isGettable method in hibernate

lavnish lalchandani
Ranch Hand

Joined: Feb 28, 2007
Posts: 79
Hi
Have been going thru this
http://apmblog.compuware.com/2009/03/24/understanding-caching-in-hibernate-part-three-the-second-level-cache/#.UMyKcG9wfJI
Here in the end example is like



And in explanation the author says that the result is not picked from cache BUT from DB reason being ... isGettable() method returns false ... i am not sure what is this method ? defined in which standard class or interface ?? AND what to do to make it true / false ??
doing some further research found this
http://javasourcecode.org/html/open-source/hibernate/hibernate-3.6.10/org/hibernate/cache/ReadWriteCache.Lockable.html
But still my questions remain same


lavnish.blogspot.com
 
Consider Paul's rocket mass heater.
 
subject: What is isGettable method in hibernate