wood burning stoves 2.0*
The moose likes EhCache and the fly likes EHCache and Queries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Caching » EhCache
Bookmark "EHCache and Queries" Watch "EHCache and Queries" New topic
Author

EHCache and Queries

Tommi Vd
Ranch Hand

Joined: Apr 23, 2009
Posts: 49
Hi,

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.

kind regards
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

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
My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EHCache and Queries