EO-last modified...?
EO-last modified...?
- Subject: EO-last modified...?
- From: MacFirst <email@hidden>
- Date: Sun, 06 Jun 2004 16:25:20 -0700
I have a client who wants to log a last modified date for every row in the
database. So far, my best idea is to have every EO extend some default EO
(i.e., Customer extends ClientEO, where ClientEO extends
EOEnterpriseObject), then override takeStoredValueForKey() in ClientEO to
save off the modified date (obviously checking if the thing we're storing is
the mod-date, so as to avoid infinite recursion.)
However, this solution has a somewhat hackish feel that leaves me less than
satisfied.
Do any of you have a good clean way of doing this that you've found to be
satisfactory both in design and implementation, and in practice,
maintenance, etc.?
Thanks!
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.