jta Questions

3

Solved

I've read this article (assumes I already know what a transaction boundary is) and this SO question (can't decipher meaning of transaction boundary from that question). In other words, there are no...
Calling asked 15/11, 2018 at 7:16

1

Hi I have two different database and I need distributed transaction for my process. Chained transaction manager is deprecated (https://github.com/spring-projects/spring-data-commons/issues/2232) An...
Yuri asked 18/1, 2023 at 8:26

2

While analyzing some performance problems in Wildfly 10.1 in high pressure scenarios I came to the conclusion, that sometimes parallel HTTP threads block each other. The reason seemed to be that ...
Overage asked 7/4, 2017 at 15:50

3

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 of setting up my unit test, I have this in my Spring test applic...
Boreal asked 2/8, 2012 at 18:7

1

Solved

I'm wondering how @Transactional works with Spring Data JPA / Hibernate on test methods. I searched some explanations on the web but it still seems obscure. Below is the code I'm using: Member.ja...
Gunflint asked 2/6, 2020 at 17:27

4

Solved

I don't understand what is the actual difference between annotations javax.transaction.Transactional and org.springframework.transaction.annotation.Transactional? Is org.springframework.transactio...
Dichotomize asked 15/10, 2014 at 16:22

2

Solved

I have a class with @Transactional annotation (instead of marking it for all of its method). Although i have a single method inside that class that shouldn't be annotated as @Transactional. My qu...
Armillda asked 14/8, 2013 at 13:31

3

What is the difference between JTA, JPA and plain JDBC in terms of Hibernate?
Sleepwalk asked 11/10, 2010 at 4:14

3

Solved

If I have nested bean methods which just fetching data from the database. (i.e GET API). So will it be beneficial to mark all bean methods as TransactionAttributeType.NOT_SUPPORTED? Will it help in...
Registered asked 24/5, 2017 at 13:26

4

Solved

I have queries as below: What is the difference of these two? Are both of these supported by all databases? Are JPA TransactionManager and JTA TransactionManager different?
Stephenstephenie asked 26/12, 2009 at 3:11

2

Solved

PostgreSQL 9.1 Glassfish 3.1.2.2 Firefox 10.0.0.7 Linux I am using JPA to persist entities in PostgreSQL. However, there is one table (named Position) which is populated by triggers and I use an ...
Primp asked 14/11, 2012 at 23:37

1

I'm trying to understand the use of Java XA Datasource. But I can't still figure when to use it, and when not to use it. I read that XA Datasource used when we use two databases. But I'm not sure ...
Pruitt asked 25/1, 2019 at 12:37

4

I have explored similar questions, but none of them seem to be the same situation. I have a REST application deployed to the JBOSS 7.1.1 server. I am using JPA. Whenever I make a call in the Entity...
Nonpareil asked 20/3, 2015 at 11:20

1

Spring has 3 typical nested transactions propagations: REQUIRED, NEW and NESTED. Isolation level types are always described in terms of concurrent transactions. But what about nested case? What is ...
Jade asked 21/11, 2018 at 23:10

2

How can I increase JTA transaction timeout in WildFly? Can be updated in standalone.xml as well as from Admin Console right?
Swivet asked 13/7, 2017 at 8:17

1

I'm trying to use a StatelessSession to do some bulk inserts in an OSGi environment (Karaf 4.0.7), but when I try to commit my transaction I get be.ikan.lib.orm.base.exceptions.PersistenceBrokerEx...
Ivers asked 13/8, 2018 at 15:28

7

Solved

We're trying to run the same web application that uses Atomikos as transaction manager on several local envrionments (each of those uses the same versions of spring, atomikos, tomact etc with the s...
Patch asked 9/1, 2014 at 8:21

2

Solved

Modules jta and java.sql export package javax.transaction.xa to module dom4j As you can see, both modules jta and java.sql export the same package, javax.transaction.xa. However, the package in...
Deathtrap asked 23/6, 2018 at 18:43

4

Solved

I'm getting exception when trying to execute test Please help . Thank you in advance I'm using : Java 7 , EclipseLink 2.5.0-SNAPSHOT, Spring 3.2.4 Test configuration file: <bean id="prope...
Compellation asked 29/6, 2014 at 16:14

2

Solved

I'm experimenting with standalone JPA and JTA / XA transaction management provided by Atomikos. My simple unit test persists 3 records, wrapped in a JTA UserTransaction. When using H2 as backing ...
Fishman asked 28/4, 2016 at 10:41

4

I have a bidirectional one-to-many relationship with the following entity classes: 0 or 1 client <-> 0 or more product orders When persisting the client entity I want the associated product or...
Reach asked 14/6, 2012 at 8:22

5

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 locate current JTA transaction when I do Session s = sessio...
Cant asked 19/12, 2013 at 11:59

3

Solved

Imagine a Java ecosystem where three separate Spring web application is running in separate JVMs and on separate machines (no application server involved, just simple servlet containers). Two of th...
Helmick asked 24/7, 2014 at 14:48

1

I was using <version.org.aspecj>1.7.4</version.org.aspecj> and <vesrion.org.springframework>4.0.1.RELEASE</vesrion.org.springframework> version of my project. Recently I upg...
Hypognathous asked 11/12, 2017 at 9:21

2

I am using Atomikos for JTA transaction. I have following setting for JTA: UserTransactionImp userTransactionImp = new UserTransactionImp(); userTransactionImp.setTransactionTimeout(900); but wh...
Brotherly asked 24/7, 2017 at 13:36

© 2022 - 2024 — McMap. All rights reserved.