RE: Tracking Fields and EOF
RE: Tracking Fields and EOF
- Subject: RE: Tracking Fields and EOF
- From: <email@hidden>
- Date: Mon, 13 Jun 2005 16:52:37 +0200
- Thread-topic: Tracking Fields and EOF
Hi!
You might want to check out the audit trail sample code up on my web site: http://homepage.mac.com/i_love_my/code.html
It is a bit dated, but it should get you started.
Pierre.
-----Original Message-----
From: webobjects-dev-bounces+pierre.bernard=email@hidden
[mailto:webobjects-dev-bounces+pierre.bernard=email@hidden]On
Behalf Of WebObjects Lover
Sent: Monday, June 13, 2005 4:14 PM
To: email@hidden
Subject: Tracking Fields and EOF
Hi there,
I need to add tracking fields to my database that
track when a record was last updated and when a record
was added. I believe I can use the awakeFromInsertion
method on EOCustomObject (in the superclass for all my
EOs) to set the time the record was added but I'm a
little confused how I set the date last modified time
automatically? Or, is this something I need to set on
the EO before I save changes? Thanks...
__________________________________
Discover Yahoo!
Have fun online with music videos, cool games, IM and more. Check it out! http://discover.yahoo.com/online.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (email@hidden)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden