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: General Question: Is it good to store calculated results?
PostPosted: Fri Jan 21, 2005 12:44 am 
Senior
Senior

Joined: Sun Oct 26, 2003 5:05 am
Posts: 139
I have a query that indexs on several columns and has complex logic. I can't write a complete query to describe the exact set of rows that I want. More specifically, I really need to calla Java method to find out if the object/row is really what I want. For example, something like, IsApproved() where the logic is not simple for determining success.

My question is, would it be wise to store isApproved in the database and map it so the query is simple, or is it better to return more results from Hibernate queries, even if I don't need them?


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.