|
|
|
|
|
PROPERTY: |
|
|
|
lockType |
|
|
|
|
|
|
|
DESCRIPTION: |
|
|
|
Indicates the type of locks placed on rows during editing. |
||
|
|
|
|
|
PROPERTY OF: |
|
|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
VALUE: |
DESCRIPTION: |
|
|
0 |
Unspecified (Unspecified type of lock) |
|
|
1 |
Read Only (Read-only records) (Default) |
|
|
2 |
Pessimistic (Pessimistic locking, record by record; lock records immediately after editing) |
|
|
3 |
Optimistic (Optimistic locking, record by record; lock records only when updated) |
|
|
4 |
Optimistic Batch (Optimistic batch updates; required for batch update mode) |
|
|
|
||
|
DESCRIPTION: |
|
|
|
Set the lockType property before opening a data object to specify what type of locking the provider should use when opening it. |
||
|
|
||
|
Providers may not support all lock types. If a provider cannot support the requested lockType setting, it will substitute another type of locking. |
||
|
|
||
|
The lockType property is read/write when the data object is closed and read-only when it is open. |
||
|
|
||
|
For the client-side cursor, the lockType property can only be set to Optimistic Batch. |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|