Transaction Management in hibernate in spring boot Interview questions | with Example | Code Decode

  Рет қаралды 77,229

Code Decode

Code Decode

Жыл бұрын

In this video of code decode we have explained about transaction management in spring boot which is very important topic as interview perspective.
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/udemycourse
Course Description Video :
yt.openinapp.co/dmjvd
Transaction management Part -2 : • Transaction Management...
How to implement transaction in spring / Hibernate
When you integrate Your hibernate with a spring boot project then you don’t need to use Hibernate Transaction Management, as you can leave it to the Spring declarative transaction management using @Transactional annotation.
Using @Transactional annotation.
What Is @Transactional?
We can use @Transactional to wrap a method in a database transaction.
It allows us to set
propagation,
isolation,
timeout,
read-only, and
rollback
conditions for our transaction.
How @Transactional works internally ?
Spring creates a proxy, or manipulates the class byte-code, to manage the creation, commit, and rollback of the transaction.
If we have a method like callMethod and we mark it as @Transactional, Spring will wrap some transaction management code around the invocation@Transactional method called:
createTransactionIfNecessary();
try {
addEmployee();
commitTransactionAfterReturning();
} catch (exception) {
rollbackTransactionAfterThrowing();
throw exception;
}
How to use @Transational
You can use this annotation on following in the lowest to highest priority order :
interface,
superclass,
class,
interface method,
superclass method, and
method.
The EmployeeService class is annotated at the class level with the settings for a read-only transaction,
but the @Transactional annotation on the addEmployee() method in the same class takes precedence over the transactional settings defined at the class level.
Usually it's not recommended to set @Transactional on the interface; however,
it is acceptable for cases like @Repository with Spring Data. We can put the annotation on a class definition to override the transaction setting of the interface/superclass:
What is a transaction?
Transactions manage the changes that you perform in one or more systems.
These can be databases, message brokers, or any other kind of software system.
The main goal of a transaction is to provide ACID characteristics to ensure the consistency and validity of your data.
What is ACID transaction?
ACID is an acronym that stands for atomicity, consistency, isolation, and durability:
Atomicity describes an all or nothing principle. Either all operations performed within the transaction get executed or none of them. That means if you commit the transaction successfully, you can be sure that all operations got performed. It also enables you to abort a transaction and roll back all operations if an error occurs.
The consistency characteristic ensures that your transaction takes a system from one consistent state to another consistent state. That means that either all operations were rolled back and the data was set back to the state you started with or the changed data passed all consistency checks. In a relational database, that means that the modified data needs to pass all constraint checks, like foreign key or unique constraints, defined in your database.
Isolation means that changes that you perform within a transaction are not visible to any other transactions until you commit them successfully
Durability ensures that your committed changes get persisted.
Most Asked Core Java Interview Questions and Answers: • Core Java frequently a...
Advance Java Interview Questions and Answers: • Advance Java Interview...
Java 8 Interview Questions and Answers: • Java 8 Interview Quest...
Hibernate Interview Questions and Answers:
• Hibernate Interview Qu...
Spring Boot Interview Questions and Answers:
• Advance Java Interview...
Angular Playlist: • Angular Course Introdu...
SQL Playlist: • SQL Interview Question...
GIT: • GIT
Subscriber and Follow Code Decode
Subscriber Code Decode: kzbin.info?...
LinkedIn : / codedecodeyoutube
Instagram: / codedecode25
#Transaction #springboot #codedecode

Пікірлер: 205
@amoldhanure6008
@amoldhanure6008 7 ай бұрын
Thank you so much for making this tutorial after watching this vedio I was able to explain about transactions in details in an interview and got selected. A BIG THANK YOU AGAIN!
@CodeDecode
@CodeDecode 7 ай бұрын
Many congratulations on clearing your interviews Amol. Keep learning keep shining 🌟🌟🌟
@bablushaw6856
@bablushaw6856 Жыл бұрын
You were well prepared. You covered a lot in 23 minutes. A very big thank you. And yes, I need another part of Transactional series.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Bablu 🙂👍
@fsk4482
@fsk4482 10 ай бұрын
Yes it's amazing video
@Ravikumar-gj6qw
@Ravikumar-gj6qw Ай бұрын
Yes
@Ravikumar-gj6qw
@Ravikumar-gj6qw Ай бұрын
​@CodeDecode yes
@iammanishvb7332
@iammanishvb7332 Жыл бұрын
The way you are explaining with theoretically and practically is great. It is very helpful to understand the scenarios as well. Great efforts!!! Is the 2nd Part available for this topic?
@theprofessor252
@theprofessor252 Жыл бұрын
One of the best videos I have seen on transaction management from an interview perspective.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Karthik🙂🙂👍
@rajesh541
@rajesh541 Жыл бұрын
Excellent explanation with theory and practical. Great job done to the code decode team..
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Rajesh 😊👍
@user-nj4vx3dc1h
@user-nj4vx3dc1h 9 ай бұрын
Your explanation within minutes like, saving our time from understanding through different tutorials in hours or even days as well, Big thanks to you for your work, please keep posting on interview videos.
@CodeDecode
@CodeDecode 8 ай бұрын
Thanks 😊😊
@vidyasagarareddyagraharam9648
@vidyasagarareddyagraharam9648 Жыл бұрын
Very well explained and yes waiting for the next set of Transactional attributes video.
@CodeDecode
@CodeDecode Жыл бұрын
Sure 🙂🙂
@rahulshukla7883
@rahulshukla7883 Жыл бұрын
Very well explained 👏 waiting for other distributed transactional videos also. Thanks!!
@CodeDecode
@CodeDecode Жыл бұрын
Sure 👍👍
@AmitKumar-mn3ri
@AmitKumar-mn3ri Жыл бұрын
Your videos are always helpful and very descriptive. Thanks :)
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Amit 🙂🙂
@sayanbiswas8847
@sayanbiswas8847 Жыл бұрын
One of the most important topics. Thanks team Code Decode.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Sayan 🙂🙂👍👍
@satishkonda5818
@satishkonda5818 6 ай бұрын
Lot of concept covered in this short video , this hleped me to get overall picture of transaction management . Thanks a lot , appreciate your effort !!
@CodeDecode
@CodeDecode 6 ай бұрын
Thanks Satish 😊👍
@paulsingh11
@paulsingh11 5 ай бұрын
Wow very humbled watching your videos. Much rather be in Student Debt with you than my University where we had to learn Chemistry for Computer Science
@CodeDecode
@CodeDecode 5 ай бұрын
Thanks 😊👍
@raheshr.s3634
@raheshr.s3634 9 ай бұрын
Very good video. A lot about Transaction Management in simple words. Please add more details about XA transactions, Named Queries and Criteria Queries…. Thanks a lot
@senthilrajatcs
@senthilrajatcs Жыл бұрын
Eagerly waiting for the next part, awesome explanation, Great effort!!!
@CodeDecode
@CodeDecode Жыл бұрын
Thanks🙂🙂 means a lot to us when our hard work gets recognition. It gives us motivation to create more such videos🙂🙂
@BajrangMargonda
@BajrangMargonda Жыл бұрын
Very helpfull, was quite confused with this topic finally got cleared :)
@CodeDecode
@CodeDecode Жыл бұрын
🙂🙂glad to hear that🙂👍
@dhruvnagpal2323
@dhruvnagpal2323 Жыл бұрын
Having watched few other yt videos for this same topic, can surely say urs one was the best, you covered a lot with great detail in short time, keep up the good work & yes pls make the followup videos.
@CodeDecode
@CodeDecode Жыл бұрын
Sure Dhruv. Thanks 🙂🙂
@ravi3743
@ravi3743 Жыл бұрын
Thank you for the clear explanation. Please go ahead with the remaining propagation types.
@CodeDecode
@CodeDecode Жыл бұрын
Sure Ravi 👍🙂
@srjons_official
@srjons_official Жыл бұрын
Seriously you are putting great efforts!! thanks for detailed explanation.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks 🙂
@manognajoshik8465
@manognajoshik8465 Жыл бұрын
I have been badly waiting for this since so long..Mam, I request you to cover the remaining topics as well. I am a regular follower of your channel. Please do complete the remaining topics as well.
@CodeDecode
@CodeDecode Жыл бұрын
Sure 🙂🙂
@shrutik1863
@shrutik1863 Жыл бұрын
Thanks for the video, waiting for next video.
@CodeDecode
@CodeDecode Жыл бұрын
Sure Shruti 👍👍
@hackstreet781
@hackstreet781 Жыл бұрын
Can't wait for more topics like this. Nice content.
@CodeDecode
@CodeDecode Жыл бұрын
Sure we will upload more like this
@kottesravanthi6399
@kottesravanthi6399 Жыл бұрын
Thank you. Your explanation is too good which makes me understand easily. Please cover the remaining topics also.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks 🙂🙂❤ sure we will do that 🙂👍
@rkpscars3923
@rkpscars3923 Жыл бұрын
Glad I followed this channel🥺where you get that much clarity and precise knowledge from🥺wanna be as knowledgeable as you r☺
@CodeDecode
@CodeDecode Жыл бұрын
Thanks for the nice words
@balavichitrasrinivasan4839
@balavichitrasrinivasan4839 7 ай бұрын
All ur videos are excellent good way of teaching,able to understand in depth like friends teaching to us sitting nearby.Was looking for long time to get this kind of knowledge sharing i learnt spring boot related all ur videos,core java, spring boot,sql interview questions, excellent work,keep rocking, u have Good heart to share ur knowledge to everyone.Good will bless u abundantly. Excellent teaching and PPT content.plz acknowledge my comment , I feel very happy that i am connected with u. Great Thank you from bottom of my heart.
@CodeDecode
@CodeDecode 7 ай бұрын
Thanks a lot for awesome words ❤️❤️ they means a lot to us. These words motivates us to create more such content and when you come back and appreciate, all hard work is paid off. Thanks a lot for taking your time out and adding another beautiful comment in our bucket ❤️❤️ loads of love
@prashantkarpe1022
@prashantkarpe1022 Жыл бұрын
Nice Explanation ,waiting for part-2
@CodeDecode
@CodeDecode Жыл бұрын
Sure Prashant 👍
@EktaBhalla-ck1bs
@EktaBhalla-ck1bs Жыл бұрын
All of your videos are just fab.Please come up with the second part soon
@CodeDecode
@CodeDecode Жыл бұрын
Sure we will upload it soon
@sangeetakumari1468
@sangeetakumari1468 Жыл бұрын
You are very talented and have deep knowledge of coding or whatever you touch!
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Sangeeta 🙂👍
@vivekbhonsle631
@vivekbhonsle631 Жыл бұрын
Very well explained.. Waiting for the next part on transactions
@CodeDecode
@CodeDecode Жыл бұрын
sure vivek we will create it soon
@VivekSharma-vu9yl
@VivekSharma-vu9yl 5 ай бұрын
Dhanshu video. Thank you so much for in depth video. Got the exact clarity related to @Transactional.
@CodeDecode
@CodeDecode 5 ай бұрын
Thanks for your feedback Vivek 🙂👍
@sivasankarpalpandian2647
@sivasankarpalpandian2647 7 ай бұрын
Easily understandable. It's a great effort. Keep rocking. Thanks for your knowledge. 😊
@CodeDecode
@CodeDecode 7 ай бұрын
You are welcome
@asharudheenmannilthodi7496
@asharudheenmannilthodi7496 Жыл бұрын
please come up with second part as well.really enjoyed your first session
@CodeDecode
@CodeDecode Жыл бұрын
Sure 🙂👍
@nagasails5386
@nagasails5386 Жыл бұрын
+1
@class7a330
@class7a330 Жыл бұрын
Excellent presentation Thankyou
@CodeDecode
@CodeDecode Жыл бұрын
Thanks 🙏👍
@sudheerkumar-tp1mg
@sudheerkumar-tp1mg Жыл бұрын
I am blindly following you I suggested many people they are also following u madam, good job.
@CodeDecode
@CodeDecode 11 ай бұрын
Thanks Sudheer ☺️👍
@abdurraseed8322
@abdurraseed8322 Жыл бұрын
Thank you mam keep upload others parts and topics also.
@CodeDecode
@CodeDecode Жыл бұрын
Sure Abdur,👍👍
@gobindsah5712
@gobindsah5712 Жыл бұрын
It cleared most of my doubts related to transaction. please create more videos on transaction. Thank you
@CodeDecode
@CodeDecode Жыл бұрын
Glad to hear that Gobind 🙂🙂👍👍
@gauti_gaming
@gauti_gaming Жыл бұрын
Can't thank you enough for these videos
@CodeDecode
@CodeDecode Жыл бұрын
😇🙂👍👍
@ArjunKumar-zu2kl
@ArjunKumar-zu2kl Жыл бұрын
Very well explained, super. Thank you so much... :)
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Arjun
@RockMB
@RockMB Жыл бұрын
Waiting for this one and got... Thank you mam!!!🙂
@CodeDecode
@CodeDecode Жыл бұрын
Glad to hear that🙂🙂
@user-pu6ll6xd2b
@user-pu6ll6xd2b Жыл бұрын
Excellent please continue
@CodeDecode
@CodeDecode Жыл бұрын
Sure 👍🙂
@jayakumarsivasankar9683
@jayakumarsivasankar9683 8 ай бұрын
Amazing explanation. very clear
@CodeDecode
@CodeDecode 8 ай бұрын
Thanks
@sheikhmohduzair2886
@sheikhmohduzair2886 Жыл бұрын
please cover all the remaining topics .thanks for explaining in such a amazing way.
@CodeDecode
@CodeDecode Жыл бұрын
Sure thanks 👍👍
@sharadsingh2856
@sharadsingh2856 Жыл бұрын
Very helpful
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@vinodkarathiyaofficial
@vinodkarathiyaofficial Жыл бұрын
Great explanation and KZbin is not for timepass and u proved it by doing such great things. Small doubt if you have dependencies for primary key (here Employee) in another table as foreign key(here address) than if we pass it before it getting populated in Table and mark Address save as new transaction then what happened?
@yamininjm
@yamininjm 9 ай бұрын
Great explanation.. Thank u
@CodeDecode
@CodeDecode 9 ай бұрын
You are welcome
@theunusual4566
@theunusual4566 8 ай бұрын
Wow..Great learning..
@CodeDecode
@CodeDecode 8 ай бұрын
Thanks 😊
@pankajkm884
@pankajkm884 11 ай бұрын
Thanks for this video. Please complete all the remaining things like(Isolation, Propagation, ReadOnly, Rollback)
@CodeDecode
@CodeDecode 10 ай бұрын
sure we will cover it soon
@shabarishkumarelluru6214
@shabarishkumarelluru6214 Жыл бұрын
Awesome explanation, thanks a lot mam
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Shabarish 🙂🙂👍
@namratadawal8508
@namratadawal8508 Жыл бұрын
Very helpful! Please cover remaining part as well
@CodeDecode
@CodeDecode Жыл бұрын
sure namrata we will cover it soon
@nagasails5386
@nagasails5386 Жыл бұрын
+1
@fewminuteswithanand
@fewminuteswithanand Жыл бұрын
Great video.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@niteeshchandanshire4381
@niteeshchandanshire4381 7 ай бұрын
Very good explanation thank you mam
@CodeDecode
@CodeDecode 7 ай бұрын
Most welcome 😊
@kajalkukreja694
@kajalkukreja694 Жыл бұрын
Very good explanation 👍👍👍👍👍👍
@CodeDecode
@CodeDecode Жыл бұрын
Thanks kajal
@MrAbhimca50
@MrAbhimca50 Жыл бұрын
Beautiful explanation
@CodeDecode
@CodeDecode Жыл бұрын
Thanks 🙂🙂
@harshverm776
@harshverm776 Жыл бұрын
Too good explanation !!!!
@CodeDecode
@CodeDecode Жыл бұрын
Thanks harsh
@NikhilR07
@NikhilR07 Жыл бұрын
Thank you , explain remaining part☺️
@CodeDecode
@CodeDecode Жыл бұрын
Sure Nikhil 👍👍
@smahbuhs
@smahbuhs Жыл бұрын
Thanks , it helps a lot
@CodeDecode
@CodeDecode Жыл бұрын
You're welcome
@indlasubramanyam8766
@indlasubramanyam8766 Жыл бұрын
Eagerly waiting for the upcoming session sis. Please upload ASAP
@CodeDecode
@CodeDecode Жыл бұрын
Sure sure. Next then I will target to complete this 👍
@rambeersharma2091
@rambeersharma2091 Жыл бұрын
Good explanations
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Rambeer 🙂👍
@privateuse4157
@privateuse4157 Жыл бұрын
Awesome you have very good talent 👌
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@MrKenAb66
@MrKenAb66 Жыл бұрын
Excellent videos.Really helpful for candidates preparing for interview. Thanks a lot. Any chance to get the slides shown in the video for download.
@sumitkumar-xz2tv
@sumitkumar-xz2tv 8 ай бұрын
Good explanation. thanks a lot
@CodeDecode
@CodeDecode 8 ай бұрын
You are welcome
@simha691
@simha691 Жыл бұрын
Please come with 2nd and remaining parts as well. Thank you. 👍
@CodeDecode
@CodeDecode Жыл бұрын
Sure 🙂🙂
@ankitambekar6073
@ankitambekar6073 Жыл бұрын
It would be great if you upload the second part soon.. :)
@CodeDecode
@CodeDecode Жыл бұрын
Sure Ankit we will upload it soon
@tutikirohit1525
@tutikirohit1525 7 ай бұрын
such a great explanation. Thanks for creating such contents. Looking for JPA Mapping(one-one mapping, one-many mapping ....) in Spring boot. Will be happy if you can get a chance to create it.
@CodeDecode
@CodeDecode 7 ай бұрын
Sure 👍 though we have covered it in hibernate interview questions series
@shravankulkarni786
@shravankulkarni786 Жыл бұрын
Also thank you for this video. Nicely explained with working code. Try to explain basic debugging in some video.
@CodeDecode
@CodeDecode Жыл бұрын
Sure I will 🙂👍
@CodeDecode
@CodeDecode Жыл бұрын
Thanks 🙂
@trijitsadhu8497
@trijitsadhu8497 Жыл бұрын
Great mam...I don't need @Transactional annotation because your teaching/Information can smoothly be saved to my brain without any exception. ..
@CodeDecode
@CodeDecode Жыл бұрын
😇😃 Thanks 👍
@nishabansal9151
@nishabansal9151 Жыл бұрын
Yes please cover remaining sections also
@CodeDecode
@CodeDecode Жыл бұрын
Sure Nisha 🙂👍
@manashranjan1267
@manashranjan1267 Жыл бұрын
Nice explanation madam could you please cover all the topics which is better for us
@CodeDecode
@CodeDecode Жыл бұрын
Sure Manash 👍👍
@manashranjan1267
@manashranjan1267 Жыл бұрын
@@CodeDecode Thanks very much madam
@layarichard6739
@layarichard6739 Жыл бұрын
Waiting for next part
@CodeDecode
@CodeDecode Жыл бұрын
Sure 🙂👍
@sbrmani85
@sbrmani85 Жыл бұрын
Please upload other parts as well. Thanks.
@CodeDecode
@CodeDecode Жыл бұрын
Sure Mani 👍👍
@hemanthkumarakshintala1126
@hemanthkumarakshintala1126 Жыл бұрын
When can we expect the second part on this topic ? Eagerly waiting for the 2nd part..
@CodeDecode
@CodeDecode Жыл бұрын
Soon we will upload it 👍👍
@anandmohand1887
@anandmohand1887 Жыл бұрын
Yes please please cover remaining
@CodeDecode
@CodeDecode Жыл бұрын
Sure Anand 👍👍
@jom1989Jo
@jom1989Jo Жыл бұрын
Please cover the remaining also... Waiting
@CodeDecode
@CodeDecode Жыл бұрын
Sure 👍🙂
@niteshbornare1985
@niteshbornare1985 14 күн бұрын
Can you please create a second part of the transaction propogation
@hemanthkumarakshintala1126
@hemanthkumarakshintala1126 Жыл бұрын
Plz cover the remaining topics as well
@CodeDecode
@CodeDecode Жыл бұрын
Sure Hemanth 👍👍
@mrugeshshah2786
@mrugeshshah2786 Жыл бұрын
Please upload transactions isolation related videos.
@vipinpaliwal6318
@vipinpaliwal6318 Жыл бұрын
Please create for other propagation type of transactions. Thanks
@CodeDecode
@CodeDecode Жыл бұрын
Sure Vipin 👍🙂
@Ravikumar-gj6qw
@Ravikumar-gj6qw Ай бұрын
Thanks
@CodeDecode
@CodeDecode Ай бұрын
👍
@dreamplaying-wg1jn
@dreamplaying-wg1jn Жыл бұрын
Upload others part too
@CodeDecode
@CodeDecode Жыл бұрын
Sure 👍🙂🙂
@syedfaizan5841
@syedfaizan5841 3 ай бұрын
thanks
@CodeDecode
@CodeDecode 3 ай бұрын
Welcome
@VivekKumar-sd3bd
@VivekKumar-sd3bd Жыл бұрын
content is very good and also explained very well but the volume is very low
@PrateekJain348
@PrateekJain348 Жыл бұрын
Any video on managing transactions in Microservice architecture?
@CodeDecode
@CodeDecode Жыл бұрын
Yeah we have on saga dp
@CodeDecode
@CodeDecode Жыл бұрын
kzbin.info/www/bejne/fJbCooODbZabgJo
@syedfaizan5841
@syedfaizan5841 3 ай бұрын
best
@pavanpavankalyan2790
@pavanpavankalyan2790 Жыл бұрын
why your not creating any video about JUnit test cases for REST API S, hope u create a video soon
@CodeDecode
@CodeDecode Жыл бұрын
Thanks for ur suggestion Pavan. We will do that 👍👍
@sumeght1878
@sumeght1878 7 ай бұрын
I just have one word for you Guys !... #Wow
@CodeDecode
@CodeDecode 7 ай бұрын
😊 thanks 👍👍
@komalpatil7434
@komalpatil7434 Жыл бұрын
can you please create a tutorial on spring security oauth topic
@CodeDecode
@CodeDecode Жыл бұрын
sure komal we will create it soon
@sanjayrai9484
@sanjayrai9484 3 ай бұрын
Is there any part 2 of this series
@RohitGupta-ek2nv
@RohitGupta-ek2nv 3 ай бұрын
mam how you are accessing your table in sts
@chaitutom5789
@chaitutom5789 Жыл бұрын
Hi mam.i think you are from bangalore white field right...please do more on microservices apache kafka ...
@CodeDecode
@CodeDecode Жыл бұрын
Ohh that's just a random address 🙂. Sure we will do more videos o n kafka ms
@girish44444
@girish44444 Жыл бұрын
pls crete 2nd part of it
@CodeDecode
@CodeDecode Жыл бұрын
kzbin.info/www/bejne/faLTgmaAaZWCppo
@ShubhamShinde-yg8cu
@ShubhamShinde-yg8cu 11 ай бұрын
EnableTransactionManagement annotation on main class is mandatory or not??
@sravankumar9609
@sravankumar9609 Жыл бұрын
Part 2 please
@CodeDecode
@CodeDecode Жыл бұрын
Sure Sravan 👍🙂
@souvikpodder9515
@souvikpodder9515 Жыл бұрын
When are we expecting the second part to be released?
@CodeDecode
@CodeDecode Жыл бұрын
Soon Souvik. Sorry to keep you waiting. We were looking if people really need the topic. Found with statics that its a relevant topics. We will upload second part soon now. Thanks for Being patient n showing us directions. 🙏👍👍👍
@vidyabarge7170
@vidyabarge7170 Жыл бұрын
What will happen if any exception throws after saving the address in the required new case
@CodeDecode
@CodeDecode Жыл бұрын
In the required new case. A new transaction is created hence both transaction are independent of each other. But since we haven't handled using try catch, it can be propagated to parent. Handling there is a necessity else it too will get roll back.
@vidyabarge7170
@vidyabarge7170 Жыл бұрын
@@CodeDecode Thanks. Very informative video. 👍
@RK-xg3qp
@RK-xg3qp 7 ай бұрын
calling transactional method from non transactional method in same class - why rollback not working in this case?
@soothinglofisongs-gl2qh
@soothinglofisongs-gl2qh 4 ай бұрын
How can we get those slides for reference?
@shravankulkarni786
@shravankulkarni786 Жыл бұрын
At 20:21 what would have happened, had u not commented that address.setEmp(employee) ; ???
@CodeDecode
@CodeDecode Жыл бұрын
Foreign key constraint voilated and you may not be able to add/ delete if reference is present
@bharathkumar134
@bharathkumar134 4 ай бұрын
Can you extend the remaining propagation
@varunkarpurapu
@varunkarpurapu Жыл бұрын
Come up with part 2
@CodeDecode
@CodeDecode Жыл бұрын
sure we will upload it soon
@distudio7499
@distudio7499 Жыл бұрын
I have a problem.. Imagine I have 2000 accounts to deposite money. I want confirm that all account should be deposited.If one failed I want to roll back all. Then use the transactional annotation. But no of accounts getting increasing the execution time getting increasing unexpectedly.I think transaction keep holding all the objects in the memory. How can I manage this issue?
@mdsaif4696
@mdsaif4696 2 ай бұрын
@EnableTransactionManagement and platformTransactionManagement concept?
Lambda Expressions and Functional Interfaces - Part 2
17:26
Coding wala Shree
Рет қаралды 41
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 17 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 118 МЛН
Spring & Spring Data JPA: Managing Transactions
10:34
Thorben Janssen
Рет қаралды 62 М.
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 17 МЛН