Hi Thilko,

Operation sorting algorithm is handled by org.objectstyle.cayenne.map.EntitySorter instance. By default this is an instance of AshwoodEntitySorter concrete class which does the sorting based on object graph dependency analysis. Inserts go first in this algorithm. You can provide your own sorter via DataNode.setEntitySorter(..).

Andrus


On Aug 23, 2006, at 11:06 AM, Thilko Richter wrote:
Hello @ all,

in which order(sorting) the querys are executed on commit? I have some delete/insert statements in a single transaction and it is important, that the delete statements are executed at first.


Thanks in advance.

Regards,

Thilko

Reply via email to