mjabr.wordpress.com
Differences between Pessimistic and Optimistic Locking
Locking is an RDBMS feature that prevents users from different transactions from causing data conflicts. When locking is acquired on a row, it prevents other transactions from changing that row unt…