• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EO-last modified...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: EO-last modified...?
      • From: Dirk Bajohr <email@hidden>
  • Prev by Date: Re: Beating request-response cycle on debug?
  • Next by Date: Re: Another plea for help from a newbie[WORKAROUND]
  • Previous by thread: Re: Joshua Marker's book: chapter 7
  • Next by thread: Re: EO-last modified...?
  • Index(es):
    • Date
    • Thread