About 3,000,000 results
Open links in new tab
  1. Using @Transactional :: Spring Framework

    The @Transactional annotation is metadata that specifies that an interface, class, or method must have transactional semantics (for example, "start a brand new read-only transaction when this …

  2. Transactions with Spring and JPA - Baeldung

    Mar 17, 2024 · At a high level, Spring creates proxies for all the classes annotated with @Transactional, either on the class or on any of the methods. The proxy allows the framework …

  3. Spring Boot - Transaction Management Using @Transactional

    Aug 20, 2025 · Spring Boot simplifies transaction management by using the @Transactional annotation, which is built on top of Spring’s declarative transaction management. It frees …

  4. When should we use @Transactional annotation? - Stack Overflow

    Mar 9, 2024 · In your first piece of code, it seems to be a save operation, but if multiple tables are involved, you can add the @Transactional annotation. In your second piece of code, which …

  5. @Transactional in Spring Boot: When to Use It — and When

    Apr 16, 2025 · In this blog, we’ll break down what @Transactional really does, when to use it, and when not to —so you can write cleaner, more reliable code. 🔍 What Is @Transactional in Spring …

  6. Mastering @Transactional Annotations in Spring Boot - Medium

    May 7, 2023 · Using the @Transactional annotation in Spring Boot applications provides several advantages, making it easier to manage and maintain transactional behavior in your code.

  7. The best way to use the Spring Transactional annotation

    Aug 3, 2023 · What layer does the Spring Transactional annotation belong to? The @Transactional annotation belongs to the Service layer because it is the Service layer’s …

  8. Spring Boot @Transactional Annotation - Java Guides

    The @Transactional annotation in Spring Boot is used to manage database transactions automatically. It ensures that database operations such as save, update, and delete are …

  9. Transaction Propagation and Isolation in Spring @Transactional

    Oct 20, 2019 · We can use @Transactional to wrap a method in a database transaction. It allows us to set propagation, isolation, timeout, read-only, and rollback conditions for our transaction.

  10. Transactional (Spring Framework 7.0.0 API)

    Describes a transaction attribute on an individual method or on a class. When this annotation is declared at the class level, it applies as a default to all methods of the declaring class and its …