]
Brian Stansberry commented on WFLY-9035:
----------------------------------------
PR is merged but I'm not resolving this yet as we want to see any TCK impact first.
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.