@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
Scenario:
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