Top "Jta" questions

Java Transaction API (JTA) specifies standard Java interfaces between a transaction manager and the parties involved in a distributed transaction system: the resource manager, the application server, and the transactional applications.

Differences between javax.jms.ConnectionFactory and javax.jms.XAConnectionFactory

I'm entering the world of JTA, due to need of distributed transactions, and I'm uncertain about the differences between javax.…

java jms jndi jta atomikos
How do I mock a TransactionManager in a JUnit test, (outside of the container)?

I'm using Spring 3.1.0.RELEASE, JUnit 4.8.1, and ultimately deploying my application to a JBoss 4.2 server (I know, I know). As part …

spring transactions junit mocking jta
How to manually commit a managed transaction

I was given an "API" in the form of a JAR to do some external accounting operations from my Java-Seam-Hibernate …

java hibernate transactions seam jta
JBoss EAP 7.1 Deployment Failed : WFLYCTL0013: Operation ("deploy") failed

My Project is war deployment. XXX.war For my project there is a datasource (ds) that is installed in jboss. …

java hibernate persistence jta jboss-eap-7
Nested Transaction and EJBContext's setRollbackOnly()

I am reading the Transaction Management of Java EE 7 and I get confused by the concept of nested transaction and …

java jakarta-ee jta java-ee-7 ejb-3.2
Transactional annotation on whole class + excluding a single method

I have a class with @Transactional annotation (instead of marking it for all of its method). Although i have a …

spring hibernate jpa transactions jta
Spring / JTA / JPA unit test : Rollback not working

I am trying to test an entity EJB3 with Spring. The EJB itself does not uses Spring and I would …

java hibernate spring junit jta
How to use Atomikos Transaction Essentials with Hibernate >= 4.3

I switched from Hibernate 4.2 to Hibernate 4.3 and my project is not working any more. I'm getting an HibernateException: Unable to …

hibernate jta atomikos
Unable to access TransactionManager or UserTransaction after updating to Hibernate 5

I just updated from Hibernate 4.2.19 to Hibernate 5.1.2. Of course, little it is to say that things are not going as …

java spring hibernate transactions jta
How does UserTransaction propagate?

I have a stateless bean with bean-managed transactions, and a method like this: @Stateless @TransactionManagement(TransactionManagementType.BEAN) public class ... { @Resource …

java jakarta-ee ejb jta bean-managed-transactions