This repository contains the kotlin code of my blog article about Hibernate Optimistic locking with Spring Boot: https://engineering.cloudflight.io/hibernate-optimistic-locking-with-spring-boot.
It is showing two cases: 1. concurrent database transactions & 2. concurrent long (UI) conversations including examples how to write integration tests.
More details in my blog article.