Hibernate Optimistic locking with Spring Boot
showing two cases: 1. concurrent database transactions & 2. concurrent long (UI) conversations
Jun 21, 20226 min read19K
Search for a command to run...
Articles tagged with #databases
showing two cases: 1. concurrent database transactions & 2. concurrent long (UI) conversations
If you haven’t read it yet, it’s probably a good idea to read part 1 of this post-series first. From now on we’ll assume that we remember roughly what part 1 was about. As a refresher, here’s one of the main points again: What is Propagation.REQUIRE...

Databases and Transactions are great, Spring is great, Kotlin/Java are great (ofc. Kotlin is better 😉), simplifying transaction-handling is great. But as we all know, simplifying things almost always creates some new pitfalls if the things that were...
