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
https://youtu.be/yX2w-Sof95s
Watch Spring boot Hot topics
https://youtu.be/CUQWZHjuq-w
Java Interview / Question and Answer series
https://youtu.be/Y1uGGTrBYKw
Explain spring Bean Lifecycle
https://youtu.be/hUYGGqoXEPc
spring core
https://www.youtube.com/watch?v=r2Q0Jzl2qMQ&list=PL3NrzZBjk6m-nYX072dSaGfyCJ59Q5TEi
spring mvc
https://www.youtube.com/watch?v=zCHrZdJODg4&list=PL3NrzZBjk6m-OSeL3DRMD_ISa0u-9c1l1
spring mvc intermediate
https://www.youtube.com/watch?v=40YaLHbrwrY&list=PL3NrzZBjk6m_2jw8sC0BkEwSPFHxgQDWr
Spring JDBC
https://www.youtube.com/watch?v=5j_vh1b9dV8&list=PL3NrzZBjk6m-rYTKze-5Y5RvU8eykal4j
spring live project
https://www.youtube.com/watch?v=m_b_FwDjAXM&list=PL3NrzZBjk6m-9CVPueDLLermojwtfuW_f
SPRING SECURITY COURSE[NEW]
https://youtu.be/NMNLozLGT1s
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
https://www.facebook.com/seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
https://www.facebook.com/groups/187000222361579/
you can ask for support in my website forum
https://www.seleniumexpress.com
Subscribe to my youtube channel
https://www.youtube.com/channel/UCpUYkSDJpHug-vfC5S-NXRA?sub_confirmation=1
Follow me on Insta
https://www.instagram.com/selenium_express/
Music :
—————
credits: -
(channel intro)
Adventures by A Himitsu https://soundcloud.com/a-himitsu
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox
https://youtu.be/8BXNwnxaVQE
Music provided by Audio Library
https://youtu.be/MkNeIUgNPQ8