You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Gene Qian <ge...@hotmail.com> on 2003/09/18 07:13:59 UTC

How to Set Last Updated Time Automatically?

Hi,

I have a persistent field, say, lastUpdated(column is 
LAST_UPDATED_DATETIME), which is used to store last updated time of the db 
record. My question is: Can we use OBJ automatically set and store the field 
with right datetime when the persistent object was stored to DB with any 
field value changed? If so, how to do?

Any comments will be appreciated.

Gene

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org