File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
I agree. Here's the link:
subject: EHCache and Queries
distributed ehcache with tomcat not working
EHCache and Hibernate
what is second level hibernate cache?
Problem with 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-2015