-->
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: Temporal databases...
PostPosted: Mon Jan 16, 2006 4:00 am 
Beginner
Beginner

Joined: Thu Dec 08, 2005 6:49 pm
Posts: 49
I'm looking for some general advice on the best way to proceed with my particular design.

I have a database in which most tables have a CreateDate and a RemoveDate field. Nothing from these tables will ever be deleted, only given a RemoveDate. The application driving this database will have a calendar visible at all times where the user can choose the current date. Only records that were valid on that date (CreateDate is before or equal and RemoveDate is null or after) will be displayed. So as the user moves around the calendar, the database will always look as it did on that day.

There's no problem listing objects based on the dates using a criterion. The problem is with collections, which are automatically loaded.

What is the cleanest way to go about this?

Cheers


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.