• 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
EOF - rows inserted in to database in random order on ec.savechanges()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOF - rows inserted in to database in random order on ec.savechanges()


  • Subject: EOF - rows inserted in to database in random order on ec.savechanges()
  • From: "J Stephanos" <email@hidden>
  • Date: Sat, 25 Oct 2008 00:10:40 -0400

When we do batch inserts, the rows are inserted in random order
instead of the order in which it is inserted in to the ec.
How can we control to database insertion order?

 - create eo
 - insert in to ec

 - after doing  about  20 inserts, we do ec.saveChanges()

All rows are there in the database  but the insertion order is random.
Can this be controlled? How?
 Works fine when you save changes after every  ec insert But that is
inefficient..

--JSt
 _______________________________________________
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: EOF - rows inserted in to database in random order on ec.savechanges()
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Question: Best practice for switching db connections as build time
  • Next by Date: Re: EOF - rows inserted in to database in random order on ec.savechanges()
  • Previous by thread: Re: /Library/WebObjects/Extensions
  • Next by thread: Re: EOF - rows inserted in to database in random order on ec.savechanges()
  • Index(es):
    • Date
    • Thread