Hibernate version: 3.2.4.sp1 (with JBoss 4.2.1)
Hello,
I'm using ehcache v.1.4.1 to enable query cache and second level cache in my app running on JBoss 4.2.1.
The query cache is configure with that options :
timeToIdleSeconds="120" and timeToLiveSeconds="120"
And the second level caches are configured to be eternals (eternal=true)
The caches hits work, all the queries are removed from the query cache after 120 seconds, but all ths objects are also removed from the second level caches after 120 seconds...
Is it normal ???
Is there a way to keep the objects in the second level caches and clearing only the query cache after 120 seconds ?
Thanks,
Olivier
|