A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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
I agree. Here's the link:
subject: EHCache and Queries
what is second level hibernate cache?
EHCache and Hibernate
distributed ehcache with tomcat not working
Spring ehcache null value caching
Problem with Hibernate Cache
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014