Learning Spring Boot from Zero to Cloud: Part 38 – Transactions 101 josedacruz, June 8, 2025June 8, 2025 🎬 Description: In this video, we dive into a crucial Spring Boot concept: how to handle database transactions using two distinct styles — Declarative (@Transactional) and Programmatic (TransactionTemplate). You’ll see a side-by-side visual comparison with diagrams that make each step crystal clear. Whether you’re a Java developer, software architect, or just brushing up for interviews, this is for you! 📚 What You’ll Learn: ✅ What is a database transaction?🔁 How declarative transactions work with @Transactional🛠️ How programmatic transactions work using TransactionTemplate📊 Step-by-step flow for commit and rollback🧠 When to choose one over the other🖼️ PlantUML diagrams for better understanding ⏱️ Timestamps: 00:00 – Introduction02:16 – ACID Properties06:22 – Why are Transactions Important?06:48 – Transaction Management Options07:20 – Declarative Transactions (@Transactional)16:23 – Programmatic Transactions (TransactionTemplate)18:06 – Side-by-side Diagram Comparison18:58 – Final Tips and Summary22:00 – Code Walkthrough Related spring-boot