Recent Posts

Backend & Spring·October 14, 2026

Spring Transactions and Concurrency: When Two Users Edit at Once, Whose Data Survives?

A practical guide to Spring transactions and concurrency control. It covers common @Transactional mistakes, the Lost Update problem, the difference between optimistic locking (@Version) and pessimistic locking (FOR UPDATE), and how to prevent deadlocks.