AccessModes - Access modes
The access may restrict the accessibility for a database handle or property handle. Usually, the access mode is set when opening the database or property handle. In order to change the property handle access mode after opening, the accessMode property can be set.
Enumarators overview
- Read
(1) - Read access
- UndefinedMode
(0) - Access mode undefined
- Update
(2) - Update access
- Write
(3) - Write access
Enumerator details
-
Read - Read access
The database or property will be provided for read access. Any write or update access will be denied.
Code: 1
to list -
Update - Update access
Update access provides data for a property handle without locking, i.e. concurrency control is partially disabled. Concurrent updates will be detected and an error 0067 will be written to the error log file in case of concurrency conflict. The first attempt for storing the instance will succeed, further attempts are denied.
In case of concurrency conflicts the instance can be reread ( reset() ) and the update can be repeated.
For databases the update mode has the same effect as write mode.
Code: 2
to list -
Write - Write access
The database or property handle is opened in write access. For property handles, concurrency control will be enabled (pessimistic locking), i.e. when selecting an instance for Write access ( get() , position() ) the instance is locked (write lock) until the instance is unselected. The instance can be read via other property handles, but will be provided in read mode, only.
Code: 3
to list