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 PROTECTED]               http://www.ocs.cz
private         [EMAIL PROTECTED]             http://www.ocs.cz/oc



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to