Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Yes, even one more concurrency question - relationship "freshness"



Hi!

  This one should be simple.

I have object A that has a to-many relationship to B. So, A contains Bs.

I fetch A that contains one B. Then, I add another B to the relationship. Some other app deletes the B that was there before, and saves changes. When I save changes on my app, I get an exception saying that the first B (the one that got deleted by the other app) is not registered in any editing context.

  How do you handle this kind of problem?

(I don't know if it's relevant, but the merging of changes is disabled for the context).

  Yours

Miguel Arroz

Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.