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