Re: Execution order of querys on commit

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Aug 23 2006 - 03:53:21 EDT

  • Next message: Andrus Adamchik: "Re: Outer join status [Was: Building null-checking expression without calling objectNode() twice?]"

    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



    This archive was generated by hypermail 2.0.0 : Wed Aug 23 2006 - 03:53:44 EDT