[jboss-jira] [JBoss JIRA] (WFLY-9035) TransactionAttribute annotation is inherited from interface which not according to the spec
Radovan Stancel (JIRA)
issues at jboss.org
Mon Aug 21 03:30:01 EDT 2017
[ https://issues.jboss.org/browse/WFLY-9035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radovan Stancel updated WFLY-9035:
----------------------------------
Git Pull Request: https://github.com/wildfly/wildfly/pull/10435
> TransactionAttribute annotation is inherited from interface which not according to the spec
> -------------------------------------------------------------------------------------------
>
> Key: WFLY-9035
> URL: https://issues.jboss.org/browse/WFLY-9035
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 10.1.0.Final, 11.0.0.Alpha1
> Reporter: Wolf-Dieter Fink
> Assignee: Radovan Stancel
> Labels: transaction
>
> The annotation @TransactionAttribute is inherited from the business interface which is not according to the EJB specification.
> Any annotation on the bean's implemenation class or deployment descriptor is overridden if the Interface is annotated with @TransactionAttribute
> The EJB 3.2 specification chapter 8.3.7 says
> "For a session bean written to the EJB 3.x client view API, the transaction attributes are speci-
> fied for those methods of the session bean class that correspond to the bean’s business inter-
> face"
> Also the Javadoc for TransactionAttribute (http://docs.oracle.com/javaee/7/api/javax/ejb/TransactionAttribute.html) mention the bean class only.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list