• 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
how to insert records in database in the order of insertion to EC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to insert records in database in the order of insertion to EC


  • Subject: how to insert records in database in the order of insertion to EC
  • From: "Shravan Kumar. M" <email@hidden>
  • Date: Sat, 31 Oct 2009 18:57:55 -0700 (PDT)

Hi Group,

Could any one please advise me how can I insert records in database in a specific order or as per the order of insertion of objects to EditingContext for eg:

I have inserted objects to EC in the following order: A1, A2, A3, A4, A5 (and then saved the EC once - editingContext.saveChanges())
But, when these got saved to database the order is disturbed and is not guaranteed i.e., I see following order sometimes: A2, A5, A1, A3, A4, whereas I want the order of these objects as I have inserted to EC.

I heard that we can do something with AdaptorOperations, but not sure of that exactly and am trying to see if we have an higher level API for that. (Just a note: We do not use Wonder to the fullest, of course we use Wonder API's as required.)

Thanks in advance,
Shravan Kumar. M
---------------------------

 _______________________________________________
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: how to insert records in database in the order of insertion to EC
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Can not deploy using JavaMonitor on SnowLeopard
  • Next by Date: Re: how to insert records in database in the order of insertion to EC
  • Previous by thread: Re: getting wiki books out of the search results
  • Next by thread: Re: how to insert records in database in the order of insertion to EC
  • Index(es):
    • Date
    • Thread