How to Set Last Updated Time Automatically?

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

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

Key generated by SqlCacheKey

2003-09-02 Thread Gene Qian
ByCriteria to change content of criteria, the sql statement cached will not reflect the criteria change of Query. Can you drop me some idea? Any comments will be appreciated. Gene QIAN __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site

Key generated by SqlCacheKey

2003-09-02 Thread Gene Qian
ByCriteria to change content of criteria, the sql statement cached will not reflect the criteria change of Query. Can you drop me some idea? Any comments will be appreciated. Gene QIAN __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site