What's the consequence when Core Data detects an optimistic locking failure when trying to save?

Posted by dontWatchMyProfile on Stack Overflow See other posts from Stack Overflow or by dontWatchMyProfile
Published on 2010-06-09T10:46:03Z Indexed on 2010/06/09 10:52 UTC
Read the original article Hit count: 109

Filed under:
|

I get it: When a managed object context saves, the snapshots of all edited objects are compared against the values in the persistent store to see if the PS has changed since the snapshot was made.

If it did change, then there's a conflict and optimistic locking failed, according to Apple. But now, what's the consequence of this? What happens next? What are my options in this case?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-data