"net.sf.hibernate.cache.QueryCache" is a default cache region, it should be used when you have not set required cache region with
Code:
Query.setCacheRegion("frontpages")
If you want to tune "frontpages" cache region, configure it in your ecache.xml:
Code:
...
<cache name="frontpages"
maxElementsInMemory="10000"
eternal="false"
timeToIdleSeconds="300"
timeToLiveSeconds="600"
overflowToDisk="false"
/>
Read another thread about QueryCache configuration
http://forum.hibernate.org/viewtopic.php?t=931007. In that thread michael, a hibernate team member, explained me QueryCache configuration.
--
Leonid