Product Information > JADE Object Manager Guide > Chapter 3 - JADE Application Programming Interface (API) > duration

duration

The duration parameter specifies if the object is automatically unlocked at the end of transaction or at the end of the current session if no manual unlocks are issued.

The constant definitions for lock durations are listed in the following table.

Constant Value
TRANSACTION_LOCK 0
SESSION_LOCK 1