[jboss-jira] [JBoss JIRA] (AS7-3870) Stateful beans should enlist the extended persistence context into the JTA independently of EntityManager invocation

Scott Marlow (JIRA) jira-events at lists.jboss.org
Thu Feb 23 10:54:36 EST 2012


    [ https://issues.jboss.org/browse/AS7-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670344#comment-12670344 ] 

Scott Marlow commented on AS7-3870:
-----------------------------------

Fix for UT also added to https://github.com/jbossas/jboss-as/pull/1575 merge request.
                
> Stateful beans should enlist the extended persistence context into the JTA independently of EntityManager invocation
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-3870
>                 URL: https://issues.jboss.org/browse/AS7-3870
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 7.1.0.Final
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>              Labels: eap6
>             Fix For: 7.1.1.Final
>
>
> "7.9.1 Container Responsibilities:
> ...
> For stateful session beans with extended persistence contexts:
> ...
> When a business method of the stateful session bean is invoked, if the stateful session bean uses container managed transaction demarcation, and the entity manager is not already associated with the current JTA transaction, the container associates the entity manager with the current JTA transaction and calls EntityManager.joinTransaction.
> "

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list