TransactionAttribute is not evaluated when its on a non ejb super-class
ckotyrba opened this issue · 1 comments
ckotyrba commented
Scenario:
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
class NonEjbSuper {
public void doSomeDbChanges(){
//...
}
}
@Stateless
class EjbChild extends Super {
}
The TransactionalInterceptor only checks if the declaring class of the method is an EJB. When I instantiate EjbChild class, the method doSomeDbChanges doesn't have transaction although it should.
The same scenario works in arquillian
aschoerk commented
Solved by release 1.1.6