import com.sleepycat.db.*;public native int get_lock_id() throws DbException; public native void set_lock_id(int lockid) throws DbException;
Get/set the underlying representation of the lock ID. Direct manipulation of the underlying representation is not recommended. Rather, DbLockTab.get should be used to initialize locks, and the copy constructor can be used to create new DbLock objects from existing ones.