-->
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.  [ 2 posts ] 
Author Message
 Post subject: Use of query cache and allow for stale query results?
PostPosted: Wed Jan 31, 2007 7:12 pm 
Newbie

Joined: Fri Feb 24, 2006 4:17 am
Posts: 4
I'm wondering if there's a way to use the query cache such that even if updates/inserts/deletes happen to the underlying tables of the query that it not invalidate the cached query results and instead allow them to still be fetched and not hit the DB. Instead it would depend on some kind of other cache entry expiration policy, such as a TTL.

The specific use case is that we have queries where it's OK if the results are stale and we'd like to minimize DB access even more for these cached queries.

Hibernate version:

3.2.0.ga


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 01, 2007 2:21 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
Hi chumpboy,

I am not sure about these cache.But for your requirment you could use TIBCO EMS which can be integrated with Oracle (using Trigger).For any update Insert you could send the updated value to client.This Solution is not pretty much align to your requirment could be possible one solution

_________________
Dharmendra Pandey


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

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.