Definition at line 55 of file catlock-gw.h.
Definition at line 61 of file catlock-gw.h.
OSB_DB::CatLockGw::CatLockGw | ( | ) | [inline] |
Temporary locks for catalogues.
The functions tries to lock the row that is identified by lockId in the table CATALOGUE_LOCK. If the lock fails and wait flag is set to true, the function waits until the row becomes available. The function returns true if the requested row could be locked, else false. In case of a database error it throws OsbException.
session | Database session. | |
lockId | Unique lock id. | |
noWait | This input will tell database whether it will wait to access this table until the previous lock function finishes. |
OsbException | In case of a database error. |