python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Hibernate/Spring Boot: How to exclude an entity from rollback
Description
What is the best way to exclude a Hibernate managed entity from being rolled back in a transaction when an exception occurs?
I have a service that is called by Spring Batch. Spring Batch o...

Terran
Votes: 0
Answers: 1
Outer transaction can not retrieve changes from inner transaction if entity already loaded once
I have a @Transactional main service loading from repository an entity.
Then this service call a sub-service having @Transactional(propagation = Propagation.REQUIRES_NEW) loading the same entity to u...

stephane brun
Votes: 0
Answers: 1
Docker PostgreSQL 12.3 how to debug failed transaction\ incomplete message
Im using PostgreSQL 12.3 docker image, and i have an application that stopped working as some query transaction gets closed or incomplete in the middle of it and the application just doesn't work.
My ...
gsr
Votes: 0
Answers: 0
How to acquire lock on a table and not let other transaction get read access?
I am having a nodejs program which uses sequelize to create tables and insert data based on it.
Now, in future we are going to have multiple instances of the program and so we don't want multiple inst...

Ashutosh Tiwari
Votes: 0
Answers: 2