You could use the extension XxxPeer object and overload the
doSelect/doInsert/doDelete/doUpdate methods. Within each overload, you
could check/add/update the fields.

- Stephen

> -----Original Message-----
> From: Virender Singh [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 11, 2002 10:49 AM
> To: 'Turbine Torque Users List'
> Subject: setting createdBy, updatedBy, createdOn, updatedOn fields
> 
> I have tables which have the following set of fields in all of them.
> 
>     createdBy  INTEGER
>     createdOn  DATE
>     updatedBy  INTEGER
>     updatedOn  DATE
> 
> Using turbine OM class generation, I was wondering what was the best
way
> to go about setting these fields when inserting, updating, deleting
> these fields.
> 
> Is there an object which can be registered, associated with the
> insert/delete/update actions on the tables to transparently handle
> setting these fields? Or some other ideas?
> 
> - Viru
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-torque-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-torque-user-
> [EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to