BY MIGUEC·2 MIN READLocking ConceptsOptimistic vs pessimistic locking for concurrent updates, with a JPA @Version walkthrough.System Design