• 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: How to selectively save EO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to selectively save EO


  • Subject: Re: How to selectively save EO
  • From: Ken Anderson <email@hidden>
  • Date: Fri, 21 Apr 2006 12:41:12 -0400

Ondra,

I'm not sure what the problem is - it makes perfect sense, since an editing context is a single perspective onto data. If you want to save other objects prior, you can also have child editing contexts that will commit changes to the parent.

Note that you can cross contexts with shared editing contexts, but this is another matter.

Ken

On Apr 21, 2006, at 9:51 AM, Ondra Cada wrote:

Ken,

On Apr 21, 2006, at 1:52 PM, Ken Anderson wrote:

A golden rule is that all related objects have to be in the same editing context

I've bumped into this problem once or twice myself (and, Louis, alas, have not found a good solution in EOF). Time to time it might be reasonable to have relationships which go over editing contexts bounds and save the EC's separately (namely, the side which has no foreign keys could be saved anytime even if the side which has them is not saved yet).
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc




_______________________________________________ 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
References: 
 >Re: Java 1.5 & WO? (From: Gavin Eadie <email@hidden>)
 >Re: Java 1.5 & WO? (From: Galen Rhodes <email@hidden>)
 >Re: Java 1.5 & WO? (From: John Andersson <email@hidden>)
 >Re: Java 1.5 & WO? (From: John Andersson <email@hidden>)
 >Re: Java 1.5 & WO? (From: "Jerry W. Walker" <email@hidden>)
 >Re: Java 1.5 & WO? (From: Art Isbell <email@hidden>)
 >Re: Java 1.5 & WO? (From: Owen McKerrow <email@hidden>)
 >Re: Java 1.5 & WO? (From: Ryan Poling <email@hidden>)
 >Re: Java 1.5 & WO? (From: Ray Kiddy <email@hidden>)
 >Re: Java 1.5 & WO? (From: lbland <email@hidden>)
 >How to selectively save EO (From: Louis Demers <email@hidden>)
 >Re: How to selectively save EO (From: Ken Anderson <email@hidden>)
 >Re: How to selectively save EO (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: How to selectively save EO
  • Next by Date: Error in Running any application in Xcode 2.1
  • Previous by thread: Re: How to selectively save EO
  • Next by thread: Re: How to selectively save EO
  • Index(es):
    • Date
    • Thread