Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root826024yTransactions in db terms are sets of operations that can be rolled back completely in the event something goes wrong — failed validation, insert failure, missing data, dropped connection, power failure, etc. They’re used to prevent damage / data corruption.
-
Adding to the "all or nothing"-transaction explanations, check "ACID" to get the full picture.
-
Hazarth95124yAre you working with spring-boot? Cause then It's just a matter of annotating a class with @Transactional
Related Rants
Why won't you just approve my PR???
Whats wrong with you?!
I don't understand your cryptic one-sentence feedback. I'm not even sure you understand what you're asking yourself.
What the hell does "make it a transaction" mean? Don't give me pseudo-code examples that don't even work fucking asshole!
Its a small change that does NOT need a canary build dammit. Don't go testing the ORM, its a goddamn standard library. Why does working with you make everything so complicated?!?!
The code fucking works! There is no need to make it comply to your specific tastes goddamn it. Working with you is like pulling teeth!
/endrant
rant
coworker
annoying college
pull request