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...@yahoo.com> on 2003/09/18 03:24:15 UTC

How to auto update a timestamp field?

Hi, Thomas and others

I have a field, say, lastUpdated (column name:
LAST_UPDATED_DATETIME), which is used as an time
indicator and to store the last updated time of the
record, How can OJB auto set the field with new 
datetime when an persistent object was stored to DB
with a field value modified? and if no change, just
let it be.

Thanks a lot!

Gene

 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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