MENU

Fun & Interesting

Keep your Data CORRECT: How to use Transactions in Spring Boot

Devtiro 17,227 lượt xem 1 year ago
Video Not Working? Fix It Now

In this tutorial I show you how to use transactions in Spring Boot.

💌 Know when my latest course drops and get exclusive discounts, join the Devtiro mailing list: https://devtiro.ck.page/498710f3be

🔗 *Links*
- Source Code: https://github.com/devtiro/spring-boot-transactions-tutorial/tree/main
- Spring Transaction Management Docs: https://docs.spring.io/spring-framework/docs/4.2.x/spring-framework-reference/html/transaction.html

🍿 *Watch Next*
‣ Spring Boot for Beginners Course: https://bit.ly/44c1xZI
‣ Spring Data & Flyway: https://youtu.be/IuKXPx3WLbg
‣ Spring Boot & MongoDB: https://youtu.be/nmOYRdOvagU

🚀 **My Free Online Courses**
‣ Spring Boot for Beginners: https://bit.ly/44c1xZI

⌨️ **My Gear**
‣ Logitech MX Master Mouse: https://amzn.to/4aDGhOK
‣ Keychron K3 Keyboard: https://amzn.to/445FjIF
‣ Sony Alpha 6400: https://amzn.to/4dkl8uX
‣ Sigma 16mm F1.4 Lens: https://amzn.to/4d7vQEF
‣ RØDE PodMic: https://amzn.to/3JN4ruB

📚 *Recommended Books for Devs*
‣ Clean Code (A must read!) - https://amzn.to/3UrGA9G
‣ The Phoenix Project - https://amzn.to/3UsiCtZ
‣ Head First Java - https://amzn.to/3w3D8ZA

🤔 *Who Am I*
I'm Aaron Bourne, a YouTuber and Software Developer working and living in the UK. I make videos that share the skills I've built from developing software commercially for almost 15 years. I hope to make software development accessible for everyone and help to make our software better.

*Timestamps*
0:00 Intro & Theory
3:21 Project Dependencies
4:17 Domain Overview
5:46 Database Overview
7:12 Persistence Layer
7:48 Service Layer
10:38 Presentation Layer
11:11 Start the App
11:45 Test App Without Transactions
15:35 Enable Transactions
16:53 Test App With Transactions
18:44 Next Up

Full disclosure, some of the links in this description are affiliate links that I get a commission from.

Comment