+I!Berkeley DB: DbTxn[P

DbTxn





#include <db_cxx.h>







Description



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

gThe DbTxn class is used in conjunction with DbTxnMgr toprovide transaction semantics.DFull transaction support is provided by a collection of modules thatGprovide interfaces to the services required for transaction processing.UThese services are recovery (see DbLog),•concurrency control (see DbLock and DbLockTab) and thešmanagement of shared data (see DbMpool and DbMpoolFile).

GTransaction semantics can be applied to the access methods described inLDb through method call parameters.

EThe model intended for transactional use (and the one that is used byithe access methods) is write-ahead logging provided by DbLog(to record both before- and after-images.CLocking follows a two-phase protocol, with all locks being releasedat transaction commit.

@See the Reference Guide formore information.



Class

DbTxn



See Also

:DbTxn::abort,<DbTxn::commit,3DbTxn::idand>DbTxn::prepare.
ÿÿ