In Spring Data JPA, the _____ is responsible for managing transaction boundaries during the execution of a method annotated with @Transactional.

  • EntityManager
  • JpaTransactionManager
  • TransactionBoundaryManager
  • Transactional
In Spring Data JPA, the JpaTransactionManager is responsible for managing transaction boundaries during the execution of a method annotated with @Transactional. This manager integrates with the Java Persistence API (JPA) to handle database transactions and ensures that the annotated method's operations are executed within the scope of a single transaction, providing consistency and reliability.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *