Re: Thread safety and Cayenne ( & Tapestry)

From: Øyvind Harboe (oyvind.harbo..ylin.com)
Date: Fri Sep 29 2006 - 10:28:10 EDT

  • Next message: Tobias SCHOESSLER: "Re: Problems with MySql id type with AUTO_INCREMENT"

    On 9/29/06, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > DataContext is not thread-safe, as it is intended for access by a
    > single user.
    >
    > DataDomain and the rest of the stack underneath the DataContext is
    > thread-safe.
    >
    > If a there is a chance of multiple threads belonging to the same user
    > to access the context (and its DataObjects) simultaneously, you'll
    > have to synchronize manually.

    Thanks for the clarification. I can't really see how Cayenne would
    have "solved" this problem.

    -- 
    Øyvind Harboe
    http://www.zylin.com
    



    This archive was generated by hypermail 2.0.0 : Fri Sep 29 2006 - 10:28:18 EDT