[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-2120) Tx logic doesn't take method-intf type into acount

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Sep 6 09:37:52 EDT 2010


     [ https://jira.jboss.org/browse/EJBTHREE-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai updated EJBTHREE-2120:
-----------------------------------

    Fix Version/s: depchain-1.0.0
                       (was: depchain-1.0.0-alpha-4)


> Tx logic doesn't take method-intf type into acount
> --------------------------------------------------
>
>                 Key: EJBTHREE-2120
>                 URL: https://jira.jboss.org/browse/EJBTHREE-2120
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: transactions
>            Reporter: Carlo de Wolf
>            Assignee: Carlo de Wolf
>             Fix For: depchain-1.0.0
>
>         Attachments: EJBTHREE-2120_core_int.patch
>
>
> Current metadata resolving logic uses AOP advisor.resolveAnnotation on a method. Since the method can be used both in a remote and local interface (via inheritance) we can't differentiate properly and an override listed below fails:
>         <container-transaction>
>             <description>Never for method sameMethod on remote intf</description>
>             <method>
>                 <ejb-name>TxBean</ejb-name>
>                 <method-intf>Remote</method-intf>
>                 <method-name>sameMethod</method-name>
>             </method>
>             <trans-attribute>Never</trans-attribute>
>         </container-transaction>
>         <container-transaction>
>             <description>Mandatory for method sameMethod on local intf</description>
>             <method>
>                 <ejb-name>TxBean</ejb-name>
>                 <method-intf>Local</method-intf>
>                 <method-name>sameMethod</method-name>
>             </method>
>             <trans-attribute>Mandatory</trans-attribute>
>         </container-transaction>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list