jta Questions

1

I'm trying to understand the basic principles of making a remote/networked resource compliant with JTA, and I'm thunderstruck by how little documentation/blogs/articles there are out there on the s...
Apiculate asked 13/12, 2014 at 19:37

1

Solved

JSR 907 JTA 1.2 defines the "global transaction" term: The UserTransaction.begin method starts a global transaction and associates the transaction with the calling thread. What does that mean...
Borghese asked 27/11, 2014 at 8:11

3

Solved

Can anybody explain what is difference between : @Resource UserTransaction objUserTransaction; and EntityManager.getTransaction(); And also what is container managed transaction? and how shou...
Mechanist asked 25/3, 2010 at 15:52

1

Solved

I have spring 4 application. At the moment I use JpatransactionManager. <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> <property name="entityMan...
Shellback asked 21/10, 2014 at 8:47

2

Solved

I have an J2EE application whose beans have container-managed EntityManager's. In long running method calls, trying to merge data throws a RollbackException (Timed out) I have tried using an ...
Ganger asked 13/10, 2014 at 13:58

0

I want to use JTA Transaction Manager for my application. I'm using Spring and Glassfish. I want to use JNDI lookup to get the JtaTransactionManager instance. My Spring bean configuration for JtaTr...
Monarchal asked 16/3, 2014 at 19:53

2

Solved

I'm receiving this error: javax.servlet.ServletException: java.lang.IllegalStateException: Exception Description: Cannot use an EntityTransaction while using JTA. While trying to use JPA and JA...
Rosemarierosemary asked 6/6, 2012 at 14:5

1

Hi everybody I was wondering if it's possible to get database connection properties through entity manager. My persistence.xml looks like this <persistence ...> <persistence-unit name=...
Dincolo asked 20/12, 2013 at 12:53

0

We have a problem setting transaction timeout on specific operations, overriding the general timeout in an application with Hibernate 4.2.1 and Jboss 7AS, since we find values set with "setTimeOut"...
Itin asked 7/10, 2013 at 14:38

1

Solved

I've got an application with 3 distributed dataSources (com.atomikos.jdbc.AtomikosDataSourceBean). I'm using Atomikos transaction manager as JTA implementation. Every dataSource works with PostgreS...
Doxology asked 17/9, 2013 at 10:22

2

Solved

We want to use the Atomikos JTA Transaction Manager. We have a unit test which we want to roll back once it completes, thereby leaving the table clean for the next run. @RunWith(SpringJUnit4ClassR...
Yoshieyoshiko asked 15/6, 2012 at 11:23

1

Solved

I'm trying to persist the same entity to both MySQL and Postgres databases (this is primarily to identify any inconsistencies, and work out the details of any issues doing the dual-write -- which I...
Idaliaidalina asked 16/8, 2013 at 14:28

2

Solved

Java EE7 consists of a bunch of "bean" definitions: Managed Beans 1.0 (JSR-316 / JSR-250) Dependency Injection for Java 1.0 (JSR-330) CDI 1.1 (JSR-346) JSF Managed Beans 2.2 (JSR-344) EJB 3.2 (JS...
Chlorenchyma asked 24/7, 2013 at 15:18

1

Solved

In the persistence.xml JPA configuration file, you can have a line like: <persistence-unit name="com.nz_war_1.0-SNAPSHOTPU" transaction-type="JTA"> or sometimes: <persistence-unit name...
Bucolic asked 26/6, 2013 at 21:45

1

everybody! I've been trying to find the answer for some time but I didn't manage. I try to configure my application and make it work under JBoss Application Server 7.1.1, using Enterprise Java Be...
Dhoti asked 3/6, 2013 at 12:46

2

I'm new to the whole JPA thing so I have multiple questions about the best way to handle JPA merge and persist. I have an user object which should be updated (some values like date and name). Do ...
Brumal asked 5/4, 2013 at 11:28

2

Solved

An EJB method named Aby calls another EJB method named Bob Bob is marked with @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) When does bob transaction commits?: a) when bob invocation...
Mistaken asked 23/7, 2012 at 14:17

2

Solved

I'm developing a webapp which needs access to two different database servers (H2 and Oracle). The container is an Apache Tomee 1.5.1 and I'm using the Java EE stack with libraries provided in it (J...
Moon asked 7/3, 2013 at 18:41

1

Solved

What is the correct way of rolling back the transaction of a container managed JTA transaction? I understand this: EJBException when calling entityManager.getTransaction() that I can't get the tra...
Once asked 4/2, 2013 at 11:51

1

Solved

Using hibernate in my application, and everytime I do a transaction, I get this warning. It is spamming my logs. JTASessionContext being used with JDBCTransactionFactory; auto-flush will not opera...
Shan asked 22/1, 2013 at 10:39

3

Solved

Why aren't nested transactions supported by JTA? Is it because of the complexity of implementing them (which I doubt) or some design principle?
Hama asked 23/9, 2012 at 12:2

1

What would be the most appropriate way to enable transactionality of multi-operation updates on AWS DynamoDB in a Java Spring application? AWS' DynamoDB is atomic only on a per-row update. I have ...
Pyrene asked 14/10, 2012 at 8:52

2

Solved

I'm not able to get this persistence file correct... I do not find any more information in the book that I use as a guide. I'm using a MySQL database. <?xml version="1.0" encoding="UTF-8"?> ...
Fragmentary asked 18/6, 2012 at 14:4

1

Solved

I've been starting to use Spring's @Transactional annotation, and it provides a lot of convenience for managing transactions. However, using this annotation in our code now makes us dependent on Sp...

0

Our Weblogic have global JTA timeout 30s, since our server is under high load setting such global timout to a bigger value can be critical for performace of the application. So I want to override ...
Etienne asked 2/5, 2012 at 14:46

© 2022 - 2024 — McMap. All rights reserved.