This content has been marked as final.
Show 3 replies
-
1. Re: Second level cache (ehcache) working?
kasim May 16, 2007 2:25 PM (in response to shakenbrain)
How are you loading it btw??
Just doing a get all or is it by a query? -
2. Re: Second level cache (ehcache) working?
twocoasttb May 16, 2007 3:04 PM (in response to shakenbrain)Via a query...
-
3. Re: Second level cache (ehcache) working?
kasim May 16, 2007 3:21 PM (in response to shakenbrain)
If it's via a query where you are not retrieving from the PK then it will not get it from the cache.
It will always attempt to go off of live data.
Cache only helps when you are pulling like a .get(Object )