OpenEdge lock
|
Oracle lock
|
Transaction processing option lock1
|
NO-LOCK
|
None
|
None
|
SHARE-LOCK
|
None
|
None
|
EXCLUSIVE-LOCK
|
SHARE UPDATE(row-level)
|
SHARE UPDATE(row-level)
|
EXCLUSIVE-LOCK . . . UPDATE
|
SHARE UPDATE (row-level) . . EXCLUSIVE (table-level)
|
SHARE UPDATE(row-level) ...ROW EXCLUSIVE (row-level)
|
ABL statement
|
SQL statements generated
|
Oracle locks
|
FIND customer.
|
SELECT FROM customer;
|
None
|
FIND customer EXCLUSIVE-LOCK.
|
SELECT FROM customer
FOR UPDATE; |
Share Update
|
SELECT . . . FROM customer SELECT . . . FROM customer FOR UPDATE; Compares records UPDATE customer . . . ;2 |