[jboss-jira] [JBoss JIRA] (WFLY-9035) TransactionAttribute annotation is inherited from interface which not according to the spec
Wolf-Dieter Fink (JIRA)
issues at jboss.org
Fri Jun 30 13:21:00 EDT 2017
Wolf-Dieter Fink created WFLY-9035:
--------------------------------------
Summary: 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: 11.0.0.Alpha1, 10.1.0.Final
Reporter: Wolf-Dieter Fink
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