
Spring - @Transactional - What happens in background?
I want to know what actually happens when you annotate a method with @Transactional? Of course, I know that Spring will wrap that method in a Transaction. But, I have the following …
When should we use @Transactional annotation? - Stack Overflow
Mar 9, 2024 · I wanted to know when we should use @Transactional in Spring Boot Services. Since JpaRepository's save() method is annotated with @Tranasactional is it required for me …
java - @Async and @Transactional - Stack Overflow
Mar 2, 2022 · It will use the same connection from the parent method (method with @Transactional) and any exception caused in the called method (method without …
How to use @Transactional with @KafkaListener? - Stack Overflow
Is there any possibility to use declarative tx management (via @Transactional) with @KafkaListener annotated method ? I would like to use it in order to, for example, define …
java - What does @Transactional do? - Stack Overflow
What does @Transactional do? [duplicate] Asked 12 years, 5 months ago Modified 6 years, 2 months ago Viewed 28k times
SpringBoot JPA need no .save () on @Transactional? [duplicate]
Oct 12, 2017 · I have short question: Do I need a repo.save(x) call on @Transactional methods? I ask cause I see changes on my DB without save, and read no clear docs about it. So is it …
Annotation @Transactional. How to rollback? - Stack Overflow
Oct 24, 2011 · I used this annotation successfully for a Dao class. And rollback works for tests. But now I need to rollback real code, not just tests. There are special annotations for use in …
EntityManager.persist () not working with @Transactional
Sep 22, 2023 · In your @Transactional method , you need to use the @PersistenceContext to access the entityManager instance that is created in the transactional aspect , but not creating …
java - @Transactional, method inside method - Stack Overflow
Feb 24, 2016 · I mean, a method should be Transactional when it have to be all done in a same transaction, and this depends for the programmer and the business logic. For example, Option …
Kafka streams on spring, trouble with exactly once ACL ...
I'm having trouble to connect to a topic on Confluent cloud from a springboot kafka-streams application, the connection failing with a single error line …