A lock based on phantom reads and table level locking. For most database and most transaction isolation levels this lock is suffecient.
The existance of the lock in the database, marks it as being locked.
The benefits of using this lock is the ability to release it. author: kimchy