You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/09/04 12:02:52 UTC

[jira] [Comment Edited] (ARIES-885) In container managed mode, a single non thread safe entity manager is used to service all requests when no transaction is active

    [ https://issues.apache.org/jira/browse/ARIES-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121099#comment-14121099 ] 

Guillaume Nodet edited comment on ARIES-885 at 9/4/14 10:02 AM:
----------------------------------------------------------------

Possible fix at
  https://github.com/gnodet/aries/commits/ARIES-885


was (Author: gnt):
Possible fix at
  https://github.com/gnodet/aries/commit/74ce36498321ea4c58c5ee330dce126890be1bdb

> In container managed mode, a single non thread safe entity manager is used to service all requests when no transaction is active
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARIES-885
>                 URL: https://issues.apache.org/jira/browse/ARIES-885
>             Project: Aries
>          Issue Type: Bug
>          Components: JPA
>    Affects Versions: 1.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: jpa-container-context-1.0.1
>
>
> The EntityManager object is not thread safe, so the access to the shared entity manager should be synchronized.
> This could eventually be made optional, but the default should be to be synchronized to avoid problems, disabling the synchronization should be an optional setting depending on which JPA provider is used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)