cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Øyvind Harboe" <oyvind.har...@zylin.com>
Subject Re: Thread safety and Cayenne ( & Tapestry)
Date Fri, 29 Sep 2006 14:28:10 GMT
On 9/29/06, Andrus Adamchik <andrus@objectstyle.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

Mime
View raw message