PrepZone Logo
PrepZone
Back to Spring Boot

Spring Boot · Medium

Difference between declarative and programmatic transaction management.

Spring BootJPA & TransactionsTransactionsSeniorStaff

Answer preview

Declarative transaction management — uses @Transactional annotation (or XML <tx:advice>). Spring's AOP proxy handles transaction demarcation transparently. The business method contains only business logic.…