How to auto update a timestamp field?

2003-09-17 Thread Gene Qian
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

How to auto update a timestamp field ?

2003-09-17 Thread Gene Qian
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