Apparatus for database record locking and method therefor
AssigneeInternational Business Machines Corporation
InventorMark Joseph Williams
Life of this patent
Estimating the term…
Abstract
A system and process for locking database records are implemented. A lock state is selectively set in response to a locking operation request. The lock state constitutes a class in an object-oriented locking service architecture. A locking operation corresponding to the locking operation request is performed on one or more records. The locking operation is implemented by a method of a lock state class in the object-oriented locking service architecture, the lock state class corresponding to a current lock state.
Claims27
A method of locking at least on record in a database comprising the steps of:
- selectively setting a lock state for said database in response to a locking operation request, wherein said lock state comprises an object in an object oriented locking service architecture, said lock state compromising one of a NoneLockedState, SomeLockedState and AllLockState;
- and
- performing a locking operation corresponding to said locking operation request on one or more records said locking operating being implemented by a method of a lock state class in said object-oriented locking service architecture corresponding to a current lock state.
A data processing system for database record locking comprising:
- circuitry operable for selectively setting a lock state in response to a locking operation request, wherein said lock state comprises an object in an object-oriented locking service architecture, said lock state comprising one of a NoneLockedState, SomeLockedState and AllLockedState;
- and
- circuitry operable for performing a locking operation corresponding to said locking operation request on one or more records said locking operation being implemented by a method of a lock state class in said object-oriented locking service architecture corresponding to a current lock state.
A computer program product in a machine readable storage medium, the program product for database record locking, comprising programming instructions for performing the steps of:
- selectively setting a lock state in response to a locking operation request, wherein said lock state comprises an object in an object-oriented locking service architecture, said lock state comprising one of a NoneLockedState, SomelockedState and AllLockedState;
- and
- performing a locking operation corresponding to said locking operation request on one or more records said locking operation being implemented by a method of a lock state class in said object-oriented locking service architecture corresponding to a current lock state.
Dependencies are inferred from the claim text.