title: query results are not found in cache
body: <p>Env: JBoss 5.1, ehcache 2.1.0, hibernate 3.3.x, seam 2.2.0</p>
  
  <p>ehcache.xml (2.1.0 version) contains the following lines, but my query results are not found in cache. Am I supposed to set a cache region for each of the queries which are fired. What am I missing here?</p>
  
  <pre><code>&lt;!-- Cache configuration --&gt;
  &lt;cache name="org.hibernate.cache.UpdateTimestampsCache"
      maxElementsInMemory="5000" eternal="true" timeToIdleSeconds="300"
      timeToLiveSeconds="300" overflowToDisk="true" diskPersistent="false"
      diskExpiryThreadIntervalSeconds="300" memoryStoreEvictionPolicy="LRU" /&gt;
  
  &lt;cache name="org.hibernate.cache.StandardQueryCache"
      maxElementsInMemory="10000" eternal="false" timeToIdleSeconds="300"
      timeToLiveSeconds="300" overflowToDisk="true" diskPersistent="false"
      diskExpiryThreadIntervalSeconds="300" memoryStoreEvictionPolicy="LRU" /&gt;
  </code></pre>