EOF - rows inserted in to database in random order on ec.savechanges()
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