DbTxn::id

APIRef

#include <db_cxx.h>

u_int32_t DbTxn::id();

Description

The DbTxn::id method returns the unique transaction id associated with the specified transaction. Locking calls made on behalf of this transaction should use the value returned from DbTxn::id as the locker parameter to the DbEnv::lock_get or DbEnv::lock_vec calls.

Class

DbEnv, DbTxn

See Also

DbEnv::set_tx_max, DbEnv::set_tx_recover, DbEnv::set_tx_timestamp, DbTxn::abort, DbEnv::txn_begin, DbEnv::txn_checkpoint, DbTxn::commit, DbTxn::discard, DbTxn::id, DbTxn::prepare, DbEnv::txn_recover, and DbEnv::txn_stat.

APIRef

Copyright Sleepycat Software