About 55 results
Open links in new tab
  1. 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 …

  2. java - What does @Transactional do? - Stack Overflow

    What does @Transactional do? [duplicate] Asked 12 years, 6 months ago Modified 6 years, 3 months ago Viewed 28k times

  3. 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 …

  4. 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 …

  5. How to use @Transactional annotation in Spring boot

    May 2, 2019 · Best practice to use @Transactional annotation in spring-boot, service layer or DAO layer? If the service layer then where do I use the @Transactional annotation on a class …

  6. How to use @Transactional with Spring Data? - Stack Overflow

    0 We use @Transactional annotation when we create/update one more entity at the same time. If the method which has @Transactional throws an exception, the annotation helps to roll back …

  7. Spring @Transactional - isolation, propagation - Stack Overflow

    Dec 13, 2011 · Can someone explain the isolation & propagation parameters in the @Transactional annotation via a real-world example? Basically when and why should I choose …

  8. transactions - Difference between transactional and non …

    Mar 11, 2016 · A non-transactional database would probably have better performance because it doesn't have to worry about rolling back changes. The individual data in the non-transactional …

  9. Why use @Transactional with @Service instead of with @Controller

    I have seen many comments in stack-overflow articles I found certain things about either @Transactional use with @Service or with @Controller "Usually, one should put a …

  10. 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 …