Re: Transaction STATUS problem

From: Andrea Pavan (prog.paw..mail.com)
Date: Wed Jun 09 2010 - 07:23:04 UTC

  • Next message: Andrus Adamchik: "Re: Transaction STATUS problem"

    As you said, the problem persist also with H2, even if it happens many time
    less, maybe because H2 executes queries faster.
    I synchronized the method for obtaining the thread bounded DataContext, but
    the problem still persist.
    Have I to synchronize also the method that creates and performs query?

    Thanks for help.

    *Andrea*

    2010/6/9 Andrea Pavan <prog.paw..mail.com>

    > No, "Container Managed Transactions" isn't checked.
    >
    > 2010/6/8 Andrus Adamchik <andru..bjectstyle.org>
    >
    > This seems like a race condition, and I am not sure that switching the DB
    >> fixes it. I just don't understand how it can possibly happen. Do you have
    >> "Container Managed Transactions" set to on by any chance?
    >>
    >> Andrus
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Jun 09 2010 - 07:24:07 UTC