Wednesday, March 20, 2013

What is Optimistic Locking ?

Optimistic Locking is a strategy where you read a record, take note of a version number and check that the version hasn’t changed before you write the record back. If the record is dirty (i.e. different version to yours), then you abort the transaction and the user can re-start it.
(Read more here http://bit.ly/sql-interview)

No comments:

Post a Comment