• 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
access to flattened relationship EOs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

access to flattened relationship EOs


  • Subject: access to flattened relationship EOs
  • From: Zak Burke <email@hidden>
  • Date: Thu, 08 Nov 2007 19:09:50 -0500

I have two EO classes joined in a flattened many-to-many relationship (User <-->> UserGroupJoin <<--> Group). UserGroupJoin is dead-simple -- nothing but foreign keys to User and Group.

I want to log whenever one of the join items is created or removed. The UI for this is a UserEdit page with Group items in checkboxes, and, likewise, a GroupEdit page with User items in checkboxes.

I use a custom EC subclass, so I thought I'd create the log by checking for UserGroupJoin items in insertedObjects() and deletedObjects() during saveChanges(). Well, they never show up there. So then I tried adding logging to UserGroupJoin.awakeFromInsertion(). That isn't called either.

Does anybody know how I can get at this information?

zak.

_______________________________________________
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


  • Follow-Ups:
    • Re: access to flattened relationship EOs
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: deep down NPE in EOF
  • Next by Date: Re: die terrible error message (Unable to find framework named "YourApplicationName")
  • Previous by thread: Re: 5.4 API diff javadoc?
  • Next by thread: Re: access to flattened relationship EOs
  • Index(es):
    • Date
    • Thread