-->
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: Natural ID queries; no need for timestamp cache?
PostPosted: Sat Sep 13, 2008 3:21 pm 
Newbie

Joined: Wed Jul 25, 2007 6:33 pm
Posts: 9
Hibernate version: 3.3.SP1

I've enabled the Hibernate query cache. And I've quickly discovered that by using Criteria queries of "natural ID"s solely, there is little reason to replicate the timestamp cache across the cluster using JBoss Cache.

I think there could be a property setting that only allowed for natural ID queries to be made and thus disabling the timestamp cache entirely. What could happen in cases where a non-"natural ID" query is made is that the query simply occurs without caching.

Thoughts?


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.