-->
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: Duplicate audit columns
PostPosted: Wed Sep 26, 2007 6:29 am 
Beginner
Beginner

Joined: Thu Apr 12, 2007 10:38 am
Posts: 22
Hi

I've got two objects: 'Associate' which extends 'Broker'. Both have a 'LAST_MODIFIED_ON' column in their tables. Since one extends the other, this field in the parent is always overwritten by the value in the child (or the other way around perhaps).

I'm not sure if it's a problem really but it might be nice to see that e.g. the parent table details were saved a couple of milliseconds before/after those of the child table details. Would it be better to rename the field in my Broker object to brokerLastModifiedOn but still point at LAST_MODIFIED_ON in the database?

Just wondering what the best way of dealing with this situation is.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 26, 2007 12:17 pm 
Beginner
Beginner

Joined: Thu Apr 12, 2007 10:38 am
Posts: 22
Anyone please?


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.