Berkeley DB: DbTxn
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++

# DbTxn |

`

###

    import com.sleepycat.db.*;

    public class DbTxn extends Object { ... }

# Description

This manual page describes the specific details of the DbTxn class.

The DbEnv transaction methods and the DbTxn class provide transaction semantics. Full transaction support is provided by a collection of modules that provide interfaces to the services required for transaction processing. These services are recovery, concurrency control, and the management of shared data.

Transaction semantics can be applied to the access methods described in Db through method call parameters.

The model intended for transactional use (and the one that is used by the access methods) is write-ahead logging to record both before- and after-images. Locking follows a two-phase protocol with all locks being released at transaction commit.

# Class

DbEnv, DbTxn

# See Also

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

Copyright Sleepycat Software