Re: isIteratedResult and SPs

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Feb 14 2006 - 19:00:22 EST

  • Next message: jira-norepl..bjectstyle.org: "[OS-JIRA] Created: (CAY-446) Commit operation should respect existing thread-bound transactions"

    On Feb 14, 2006, at 6:47 PM, Cris Daniluk wrote:

    >> There are two "official" ways to avoid commit - external transactions
    >> and user-managed transactions. Can you explain why commit is
    >> undesirable. Is this a standalone ProcedureQuery, or is this
    >> something you are doing from TransactionDelegate?
    >>
    > Running it from a TransactionDelegate. It is happening after a ton of
    > insert/updates, but before the overall commit. I would be okay with it
    > committing, except that after it commits, the DataContext tries to
    > again and blows up.

    That's very strange. Double commit shouldn't happen. Could you post
    the code from the delegate that executes a query?

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Feb 14 2006 - 19:00:23 EST