I apologize, upon further reading I was able to see that I can implement PersistenceBrokerAware of my base abstract BO class and update the lastModified beforeStore.
| -----Original Message----- | From: Jacob Hookom [mailto:[EMAIL PROTECTED]] | Sent: Wednesday, October 09, 2002 3:48 PM | To: [EMAIL PROTECTED] | Subject: LastModified Field Use | | Hi, | | I want to take advantage of a last modified field in my objects. I've | created triggers to place the date in the table columns upon insert, but | is there any way to: | | A: Tell the repository to default these fields to GETDATE() without | specifically new'ing Dates at object creation | | B: Even though the tables are referenced by a single primary key, can | you get OJB to also reference the lastModified field as part of the | object's identity? | | The only other option I'm thinking is to as soon as I store it, remove | it. | | Any suggestions would be greatly appreciated! | | -Jacob | | | -- | To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> | For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
