An example project to demonstrate optimistic locking with java (jpa). The spring-boot setup is just used to wrap all together with a few lines of code.
Run the Unit & Integration Test by this command : ./mvnw clean test
An example project to demonstrate optimistic locking with java (jpa). The spring-boot setup is just used to wrap all together with a few lines of code.
Java