-->
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: How to avoid query cache invalidation
PostPosted: Tue Feb 13, 2007 3:52 am 
Newbie

Joined: Tue Feb 13, 2007 3:31 am
Posts: 8
Hi, I have a question about using hibernate. I'm using Hibernate 3.1. I have queries on my web site that shows the most viewed videos, for example. Despite the fact I'm using query caching, since number of views change all the time, those caches will get invalidated almost instantly. I'm wondering if there are any way for me to just use staled data once in a while. I don't really care if the view numbers are completely up-to-date on every query, as long as it gets right eventually. Is there a mode of hibernate to ignore some of the changed data in a query for a period of time and just used the cached result?


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.