Published On Aug 21, 2022
In this lesson we will learn about the Transactional propagation levels. As we have a strong foundation on Transaction Management now, we can move ahead and choose the propagation and isolation topics next. Coming to this lessons, it will give you a foundation on different Transaction propagation levels like required, requires new, mandatory, supported , not supported etc. To understand, How Spring’s @Transactional works internally, I will take the help of spring AOP to log and trace different connection related calls like close(), commit(), rollback() etc. I believe this will make your transaction journey smooth.
So this lessons will cover various spring AOP concepts like Aspect, Advice, Pointcuts, join points , proceeding join points as a prerequisites.
By the end of this lessons, We will build a strong foundation on the different Transactional propagation levels used in Spring Boot / Spring Framework.
TIMESTAMP
00:00:00 - @Transactional - Theory
00:10:36 - Recap - Spring Transaction Management so far
00:23:20 - Introducing Spring AOP
00:26:50 - Developing a Aspect(@Aspect)
00:26:50 - Developing Advice to log method names(@Advice)
00:32:30 - Doing it with @Before
00:34:13 - writing a point cut expression @pointcut
00:43:45 - writing an advice with @After
00:46:15 - @Around and proceeding joinpoints
01:02:00 - When the connection object is getting created in our app?
01:04:35 - Connection and ConnectionImpl
01:07:26 - Intercepting the Datasource and Connection object
01:11:37 - Transactional Propagation Level REQUIRED vs REQUIRES_NEW
01:18:54 - Tracing Connection’s rollback(),commit(), close() call
01:21:41 - Creating a connection Proxy (dynamic proxy)
01:27:18 - When the commit/close/rollback calls happen
01:30:30 - Code refactor - InvocationHandler
01:31:53 - Propagation.REQUIRED
01:41:48 - Propagation.NEVER
01:44:00 - Propagation.NOT_SUPPORTED
01:45:57 - Propagation.MANDATORY
01:47:28 - Propagation.SUPPORTS
#transactionmanagement #springboot #springframework
For more free / paid courses visit
www.seleniumexpress.com
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
• Java interview questions and answers ...
Watch Spring boot Hot topics
• @Reposicotry Vs @Service | Spring Boo...
Java Interview / Question and Answer series
• Java collections interview questions ...
Explain spring Bean Lifecycle
• REAL-TIME: Spring Bean life cycle usi...
spring core
• Spring framework tutorial for beginne...
spring mvc
• Spring MVC course introduction || Und...
spring mvc intermediate
• [INTERMEDIATE] Spring MVC Course Prev...
Spring JDBC
• Spring JDBC Course Preview || Let’s t...
spring live project
• #1 Build and Deploy A Spring Project ...
SPRING SECURITY COURSE[NEW]
• Spring Security Course Preview | Lear...
For more courses visit
https://www.seleniumexpress.com
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to [email protected]
you can ping me on my Facebook page
/ seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
/ 187000222361579
you can ask for support in my website forum
https://www.seleniumexpress.com
Subscribe to my youtube channel
/ @seleniumexpress
Follow me on Insta
/ selenium_express
Music :
—————
credits: -
(channel intro)
Adventures by A Himitsu / a-himitsu
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox • A Himitsu - Adventures [Royalty Free ...
Music provided by Audio Library • Adventures – A Himitsu (No Copyright ...