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.

persistence.xml different transaction-type attributes

In the persistence.xml JPA configuration file, you can have a line like: <persistence-unit name="com.nz_war_1.0-SNAPSHOTPU" …

java jpa jakarta-ee jta persistence.xml
Persistence unit as RESOURCE_LOCAL or JTA?

I have queries as below: What is the difference of these two? Are both of these supported by all databases? …

java spring jpa persistence jta
Difference between a "jta-datasource" and a " resource-local " datasource?

The terms "jta-datasource" and "resource-local datasource" are a little vague to me. I'm putting down what I am understanding ( or …

java jpa jakarta-ee ejb-3.0 jta
javax.transaction.Transactional vs org.springframework.transaction.annotation.Transactional

I don't understand what is the actual difference between annotations javax.transaction.Transactional and org.springframework.transaction.annotation.Transactional? Is …

java spring hibernate transactions jta
Spring JTA TransactionManager config: Supporting both Tomcat and JBoss

I have a web application using JPA and JTA with Spring. I would like to support both JBoss and Tomcat. …

java spring jboss jta jotm
Spring JTA configuration - how to set TransactionManager?

We configure our Spring transaction in Spring config as: <tx:jta-transaction-manager/> I gather this means that Spring will …

java spring jboss jta spring-transactions
What is the difference between JTA and a local transaction?

What is the difference between JTA and a local transaction? An example that shows when to use JTA and when …

jta
When does @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) commit?

An EJB method named Aby calls another EJB method named Bob Bob is marked with @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) When …

jakarta-ee ejb jta container-managed
Difference between JTA, JPA and Plain JDBC in hibernate

What is the difference between JTA, JPA and Plain JDBC in terms of Hibernate?

java hibernate jpa jdbc jta
JPA with JTA: Persist entity and merge cascaded child entities

I have a bidirectional one-to-many relationship with the following entity classes: 0 or 1 client <-> 0 or more product orders …

java jpa jpa-2.0 entity-relationship jta