Jonathan S Fisher created TOMEE-2650:
----------------------------------------

             Summary: 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: 8.0.0-M3, 7.1.1, 7.0.6
            Reporter: Jonathan S Fisher
            Assignee: Jonathan S Fisher


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