Complete Spring 7 & Spring Boot 4 course from beginner to Advance using first thought principle.
Curated by: Coder Army (41 videos)
Spring Boot Full Course #34 How does Spring decide whether a method should join an existing transaction, create a new one, suspend it, or execute without a transaction? In this video, we explore Transaction Propagation and Isolation in Spring Boot from first principles. We will understand how @Transactional behaves across multiple service methods, how rollback rules work, and how databases protect data when multiple transactions execute concurrently. Topics covered: Default behaviour of @Transactional Commit and rollback rules Runtime exceptions vs checked exceptions Using rollbackFor Physical vs logical transactions Propagation.REQUIRED UnexpectedRollbackException Propagation.REQUIRES_NEW Transaction suspension SUPPORTS, MANDATORY, NOT_SUPPORTED and NEVER Propagation.NESTED and database savepoints Dirty Read Non-Repeatable Read Phantom Read READ_UNCOMMITTED READ_COMMITTED REPEATABLE_READ SERIALIZABLE Choosing the correct isolation level By the end of this video, you will understand not only what each propagation and isolation option does, but also when and why it should be used in a real Spring Boot application. This video is part of our complete Spring Framework and Spring Boot series on Coder Army. JAVA Beginner to Advance Series : https://youtube.com/playlist?list=PLQEaRBV9gAFsR15tNo2QLF9d2qc-c018p&si=lNuF5lyt4nKz9Up7 Join our WhatsApp Group: https://www.whatsapp.com/channel/0029VbBF1XKF1YlMyYuPM23s Code and Notes: Github : https://github.com/adityatandon15/Spring-Framework-Full-Course We have paid courses on DSA, Web Development , Blockchain, System Design & GenAI. Join Courses: https://strikes.in/ Coder Army Website: https://coderarmy.in/#home Coder Army App: https://play.google.com/store/apps/details?id=com.rohit.negi Connect with Aditya Tandon Instagram : https://www.instagram.com/adityatandon2 LinkedIn : https://www.linkedin.com/in/adityatandon2 Twitter : https://x.com/adityatandon02 Timestamps: