Skip to content

Glossary: Spring Boot Beyond the Basics

Pessimistic locking

Lock the row as you read it so a second order waits. Use it when conflicts are common or a retry is costly.

Where the book teaches it

Related terms

@LockOptimistic locking