jQuery in Action, 2nd edition*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is isGettable method in hibernate
 
Similar Threads
Difference between Session Cache for load and query cache ?
Connecting to multiple Databases using Hibernate
Need help with implementing PUT annotation in my REST service
Query about save(), saveorupdate(), update(), lock() and merge() methods
How to knock out StaleStateException