• 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
Ordering of operations in editingContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • RE: Ordering of operations in editingContext
      • From: "dov rosenberg" <email@hidden>
    • Re: Ordering of operations in editingContext
      • From: email@hidden (Anjo Krank)
  • Prev by Date: Re: Compound PKs
  • Next by Date: Re: Ordering of operations in editingContext
  • Previous by thread: why IE so troublesome
  • Next by thread: Re: Ordering of operations in editingContext
  • Index(es):
    • Date
    • Thread