Thanks to you, I was able to think deeply about lock and isolation. Thank you!
You have set the @Transactional annotation on the Repository interface. I usually prefer to declare it in the Class method of the Service layer... Is it a better practice to declare it in the Repository?