Berkeley DB: DbTxn.id
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btr ee,hash,hashing,transaction,transactions,locking,logging,access method,access me thods,java,C,C++

# DbTxn.id

`

###

    import com.sleepycat.db.*;

    public int id()
    	throws DbException;

# 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 DbLockTab.get or DbLockTab.vec calls.

# Class

DbTxn

# See Also

DbTxn.abort, DbTxn.commit, DbTxn.id and DbTxn.prepare.`