-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Second level cache eternal and query cache living 120 sec.
PostPosted: Tue Apr 22, 2008 10:38 am 
Newbie

Joined: Sun Dec 17, 2006 6:30 pm
Posts: 9
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.