Ordering of operations in editingContext
Ordering of operations in editingContext
- Subject: Ordering of operations in editingContext
- From: Kaj Hejer <email@hidden>
- Date: Thu, 28 Aug 2003 14:46:42 +0200
Hi!
Some times it's critical to do database operations in a given order; i.e.
that deletes is performed before inserts. Usually this works fine, but
sometimes the operations is mixed up, and that can mess up a saveChanges.
To solve this, you can use the delegate
"adaptorChannelWillPerformOperations" and fix the order yourself. This can
solve some things, but it can be difficult since this delegate doesn't know
about states in components and sessions.
Why doesn't editingContexts keep the order of when operations is done? Is it
possible to force it to?
Thanks in advance!!
-Kaj :)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.