About 11,300,000 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. 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 …

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

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

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

  5. Spring transaction REQUIRED vs REQUIRES_NEW - Stack Overflow

    Using REQUIRES_NEW is only relevant when the method is invoked from a transactional context; when the method is invoked from a non-transactional context, it will behave exactly as …

  6. hibernate - Nested @Transactional - Stack Overflow

    Jun 15, 2015 · The second @Transactional annotation on method b() is not required because by default @Transactional has a propagation of REQUIRED, therefore methods called by method …

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

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

  9. I'm getting InvalidPidMappingException without using …

    Aug 31, 2024 · I don't know much about Spring Kafka (usually I only wrote consumers and producers and it works haha), but according to the documentation, transactional producers are …

  10. java - @Transactional, method inside method - Stack Overflow

    Feb 24, 2016 · Always make your outermost method transactional, also the second won't work with default Spring AOP (it will work when using ASpectj and load or compile time weaving but …