1,148 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
3
answers
117
views
How to prevent rollback of nested service call in Java EE when outer transaction (endpoint) returns an error (REQUIRES_NEW causes deadlock)
In our Java EE application, we have a setup where Service A is an endpoint. In some valid business cases, this endpoint throws an exception and returns an error code to the client — this is expected ...
0
votes
1
answer
104
views
Is it possible to use Narayana REST-AT (REST-AtomicTransactions) embedded in a Spring Boot project with the default Tomcat?
I’m trying to implement two-phase commit transactions using Narayana REST-AT fully embedded in a Spring Boot application—no WildFly/JBoss server, no Docker Compose or external broker, just project ...
0
votes
0
answers
31
views
How to embed JBPM with spring boot and adding the business monitoring workbench at the time of application start up?
any one can provide me solution? help me to integrate JBPM with spring boot so that it should provide run time management, modeling for standalone application .
0
votes
0
answers
37
views
Object is not a known Entity type on JDK 11 + Glassfish 6.2.5
I created a MVC project using Maven for my assignment. Our assignment requires us to use JDK 11 + Glassfish 6.2.5 as the environment and requires us to use JPA for getting / writing data to database ...
0
votes
0
answers
77
views
How can I get the TxType of the current transaction in Quarkus?
I’m developing an extension that involves some transaction-related interfaces that need to be adapted.
Is there any way in Quarkus to directly obtain the value from the current transaction, as ...
0
votes
0
answers
39
views
@Transactional not working on JNDI Datasources
we have a webapp running on wildfly, using JNDI datasources to handle database related operations. During a modernization operation, we are currently changing EJBs to Spring as a first step to make ...
1
vote
0
answers
52
views
JPA EclipseLink: UPDATE Not Executed After Committing Merges
Using EclipseLink 2.6.4 with JTA and the property eclipselink.persistence-context.flush-mode=commit.
The UPDATE in the database is not done when I'm trying to commit a transaction where several merges ...
3
votes
2
answers
490
views
Spring 6 TransactionManager Isolation Level Support in IBM Liberty
We have an application running in Liberty 19.X using Spring 5 and Spring Boot 2 which is live in production and working properly. We are migrating that application to Liberty 24.X with Spring 6 and ...
0
votes
1
answer
128
views
How to Resolve HeuristicMixedException in Narayana after Stack Upgrade?
I've been working on a Java Spring-based application that manages transactions using Narayana.
The code base is very vast and we have been just told to upgrade the stack. None of my team members have ...
2
votes
1
answer
984
views
Atomikos library has incompatibility packages (from javax.transaction to jakarta.transaction)
I have Atomikos (6.0.0) in Spring Boot 3 and using Java 21. It's working but using a @Deprecated class, "ChainedTransactionManager(transactionManagerOne, transactionManagerTwo)". This way ...
1
vote
1
answer
203
views
@Trasactional annotation not working with webflux 3.3.2
We have recently started upgrading spring webflux version 2.7X to 3.3.2. After this upgrade, when we hit API with Postman it goes to controller layer and if service layer method is annotated with @...
2
votes
1
answer
62
views
LoggerFactory Exception
In my Java Application I need to use a connection pool, so I decided to implement HibernateCP. The problem is that I get this exception that I need to add this: org/slf4j/LoggerFactory. The full ...
user avatar
user24696530
-1
votes
1
answer
99
views
How do you validate that a Java Transactional annotation has been handled?
I have an interface for which I want to implement a Transactional variant.
public interface Service {
void handle(Object message) throws Exception;
}
My implementation uses an annotation to ...
-1
votes
1
answer
80
views
JTA UserTransaction (with narayna implementation) rollback in standalone JPA+Hibernate application does not work
The following code snippet is in the main
try(EntityManager em = entityManagerFactory.createEntityManager()) {
TestEntity e = new TestEntity();
UserTransaction tx = com.arjuna.ats.jta....
0
votes
2
answers
387
views
Quarkus: Update database table even if outer transaction rolled back
Most of our Quarkus endpoints follow the standard practice in which they're annotated with @Transactional, call into our business layer, and if an exception is thrown the entire transaction is rolled ...