A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EHCache and Queries
Joined: Apr 23, 2009
Nov 02, 2009 04:48:52
Is it normal when i configured ehcache for a entity that when i put the show_sql on true i still see every time those sql's?
In the server logs stands that de cach is configured for the Regio entity.
Joined: Sep 11, 2006
Nov 02, 2009 05:44:09
No, normally you don't see those SQLs. If you see those SQLs, that means there is no hit to your second-level cache.
SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
It is sorta covered in the
JavaRanch Style Guide
subject: EHCache and Queries
Problem with Hibernate Cache
EHCache and Hibernate
distributed ehcache with tomcat not working
what is second level hibernate cache?
Spring ehcache null value caching
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014