[jboss-jira] [JBoss JIRA] (WFLY-2627) EJB container-transaction configuration with ejb-jar.xml leads to wrong transaction behavior

Norbert Bumm (JIRA) jira-events at lists.jboss.org
Mon Dec 9 16:19:05 EST 2013


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

Norbert Bumm commented on WFLY-2627:
------------------------------------

Affects Version/s: JBoss AS 7.1.1 and 7.2
                
> EJB container-transaction configuration with ejb-jar.xml leads to wrong transaction behavior
> --------------------------------------------------------------------------------------------
>
>                 Key: WFLY-2627
>                 URL: https://issues.jboss.org/browse/WFLY-2627
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB, Transactions
>         Environment: jdk1.7.0_45_x64, Windows 7
>            Reporter: Norbert Bumm
>            Assignee: David Lloyd
>         Attachments: arquillian-jpa.zip
>
>
> If there is a global transaction declaration for “Supports” and a “Required” declaration for a specific Method the “Required” gets ignored. I first encountered the problem with an old 2.1 EJB, but the problem is also there with a 3.1 EJB with deployment descriptor. It works correct with annotations.
> ejb-jar.xml snippet 
> {code:xml}
>    <container-transaction>
>       <method>
>          <ejb-name>UserDAOImpl</ejb-name>
>           <method-name>*</method-name>
>        </method>
>        <trans-attribute>Supports</trans-attribute>
>     </container-transaction>
>     <container-transaction>
>       <method>
>          <ejb-name>UserDAOImpl</ejb-name>
>          <method-intf>Local</method-intf>
>          <method-name>createUser</method-name>
>       </method>
>       <trans-attribute>Required</trans-attribute>
>    </container-transaction>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list