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.

change jta transaction timeout from default to custom

I am using Atomikos for JTA transaction. I have following setting for JTA: UserTransactionImp userTransactionImp = new UserTransactionImp(); userTransactionImp.setTransactionTimeout(900); but …

jta atomikos
Difference between JTA and Spring @Transactional annotations

I've been starting to use Spring's @Transactional annotation, and it provides a lot of convenience for managing transactions. However, using …

jakarta-ee transactions annotations jta spring-transactions
Accessing transaction status in container managed beans

I have a @Stateless EJB using container managed transaction. Is there a way to access the "status" of javax.transaction.…

jakarta-ee ejb jta distributed-transactions
EntityManager.contains() returns false after persist()

The documentation for EntityManager.persist() says it will Make an instance managed and persistent. It is persisting the entity to …

java jpa persistence jta entitymanager
How to enable custom isolation levels for a JTA Transaction Manager in Spring

Question How do I configure a JtaTransactionManager object with allowCustomIsolationLevels set to true via Spring such that the Spring configuration …

java spring jta
How to manage transaction for database and file system in Java EE environment?

I store file’s attributes (size, update time…) in database. So the problem is how to manage transaction for database …

java file jakarta-ee transactions jta
OptimisticLockingFailureException updating step execution after commit failure in Spring Batch

I am performing some integration testing for my application in which I am trying to force an exception whenever there …

java spring spring-batch jta optimistic-locking
Setting JTA Properties to an Atomikos + Spring Boot Configuration

I'm trying to set an Atomikos JTA Property (e.g. com.atomikos.icatch.max_timeout) in a Spring Boot Configuration, …

spring spring-boot jta atomikos
Hibernate+Spring accessing Websphere data source

I'm working on a portal project, where I'm forced to use WebSphere Portal, Spring portlet MVC and Hibernate. I don't …

spring hibernate websphere portlet jta
Java EE: Why use JTA directly?

I'm trying to understand JTA and am using Bitronix as the Transaction Manager of choice (just for the sake of …

jakarta-ee jta