This discussion is archived
2 Replies Latest reply: Jan 17, 2013 12:43 AM by 985120 RSS

Order of insertion while calling registerAllObjects on UnitOfWork

985120 Newbie
Currently Being Moderated
Hi All,
We are trying to insert multiple objects at a time using registerAllObjects(Collection) method. The objects should be inserted exactly in the order given in the collection. But after committing the transaction, the insertion order of objects are unpredictable.
How can we make sure that the objects are inserted exactly in the order added in the collection?

Thanks in advance for your help.

Edited by: 982117 on Jan 16, 2013 12:30 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points