Handling a specific scenario with a Test to verify that it’s correctly implemented the Optimistic Lock
I’m tryng to get more into Optimistic Lock and in detail, verifyng with a test, that my implementation it’s correct. The implementation it’s with Java 11, SpringBoot and Maven interacting with a simple Sql DB.