• 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
Re: Partially saving the object graph. How? (Jean Pierre Malrieu)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Partially saving the object graph. How? (Jean Pierre Malrieu)


  • Subject: Re: Partially saving the object graph. How? (Jean Pierre Malrieu)
  • From: Gary Teter <email@hidden>
  • Date: Mon, 19 Mar 2007 13:42:36 -0700

I'm going to agree with Chuck and the rest that this is probably a bad idea.

However, if I had my heart set on doing it, I'd look at creating an EOAdaptorChannel delegate and implement the adaptorChannelWillPerformOperations method so it removes the adaptor operations pertaining to entity B.

But I don't think EOF will be very happy that you're doing this. That means you'll have enterprise objects and snapshots in memory that don't correspond to rows in the database, so you may need to also implement an EODatabaseContext delegate for databaseContextFailedToFetchObject and/or the various databaseContextShouldFetch methods.

Perhaps a better solution would be to remap entity B to a different table for this special application so it's not cluttering up the real entity B table?

--
WireHose: Smart metadata and personalization for WebObjects.
http://wirehose.com/


_______________________________________________ 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: Partially saving the object graph. How? (Jean Pierre Malrieu)
      • From: Chuck Hill <email@hidden>
References: 
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Jean Pierre Malrieu <email@hidden>)
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Chuck Hill <email@hidden>)
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Jean Pierre Malrieu <email@hidden>)
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Chuck Hill <email@hidden>)
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Mike Schrag <email@hidden>)
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Custom Component Problems
  • Next by Date: Re: Partially saving the object graph. How? (Jean Pierre Malrieu)
  • Previous by thread: Re: Partially saving the object graph. How? (Jean Pierre Malrieu)
  • Next by thread: Re: Partially saving the object graph. How? (Jean Pierre Malrieu)
  • Index(es):
    • Date
    • Thread