[ 
https://issues.apache.org/jira/browse/TOMEE-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan S Fisher resolved TOMEE-2650.
--------------------------------------
    Fix Version/s: 7.1.2
                   7.0.7
                   8.0.0-M4
                   8.0.0-Final
       Resolution: Fixed

> TomEE connection.createConnect(int) does not ignore value when in a JTA 
> Transcation
> -----------------------------------------------------------------------------------
>
>                 Key: TOMEE-2650
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2650
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 7.0.6, 7.1.1, 8.0.0-M3
>            Reporter: Jonathan S Fisher
>            Assignee: Jonathan S Fisher
>            Priority: Major
>             Fix For: 8.0.0-Final, 8.0.0-M4, 7.0.7, 7.1.2
>
>
> https://docs.oracle.com/javaee/7/api/javax/jms/Connection.html#createSession-int-
> {noformat}
> In a Java EE web or EJB container, when there is an active JTA transaction in 
> progress:
> The argument sessionMode is ignored. The session will participate in the JTA 
> transaction and will be committed or rolled back when that transaction is 
> committed or rolled back, not by calling the session's commit or rollback 
> methods. Since the argument is ignored, developers are recommended to use 
> createSession(), which has no arguments, instead of this method.
> {noformat}
> When there is a JTA Transaction in place, TomEE is returning non XA Sessions.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to