Hi Folks
Heres what I'm trying to have the consistency between Database & TopLink cache.
I have set the property "<refresh-cache>True</refresh-cache>"
in the deployment descriptor(toplink-cmp.xml).
But everytime my finderMethod is called a Query is executed since I can see
it on weblogic console.
So that means I'm hitting database everytime my finder is called which effectively
means I'm not utilising the cache.
How can I update the cache to be in sync with database & to make sure that
my finders fetch data from cache & not hit database everytime?
I also found out a method named "onlyRefreshCacheIfNewerVersion()" to refresh
TopLink cache, but I didn't found anything about How to use it?
Any Inputs?
Thanx -- Puneet
-
Inconsistency between TopLink cache and database (0 messages)
- Posted by: Puneet Maini
- Posted on: October 31 2001 01:54 EST