• 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
Order of Objects Saved to DB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Order of Objects Saved to DB


  • Subject: Order of Objects Saved to DB
  • From: Dawn Lockhart <email@hidden>
  • Date: Mon, 12 Jan 2009 16:17:53 -0500
  • Thread-topic: Order of Objects Saved to DB

I am creating new EO objects and I need them to be saved to the DB in the
same order that they were created so their primary keys will be in the order
created. It seems like when I call saveChanges on the editing context that
the records are just being saved to the DB all willy nilly.

It looks like the only way to enforce this is to do multiple calls to
saveChanges which I'd like to avoid.

Is there some way to have it save a group of objects in the order created?

TIA,
Dawn

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Order of Objects Saved to DB
      • From: Kieran Kelleher <email@hidden>
    • Re: Order of Objects Saved to DB
      • From: Travis Britt <email@hidden>
    • Re: Order of Objects Saved to DB
      • From: Andrew Lindesay <email@hidden>
  • Prev by Date: an Ajax Drag and Drop question
  • Next by Date: Re: Order of Objects Saved to DB
  • Previous by thread: Re: an Ajax Drag and Drop question
  • Next by thread: Re: Order of Objects Saved to DB
  • Index(es):
    • Date
    • Thread