Difference between @TransactionAttribute and @Transactional
Issue
- What is the difference between javax.ejb.TransactionAttribute and Transactional?
- Is it possible to use @TransactionAttribute(REQUIRED) outside of an EJB to control the transactional behaviour of a method or class?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- Java Enterprise Edition (JavaEE JEE)
- Context dependency injection (CDI)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.