+I!Berkeley DB: DbTxn[P

DbTxn





import com.sleepycat.db.*;







Description



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

hThe 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.VThese 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 inMDb through method call parameters.

EThe model intended for transactional use (and the one that is used byjthe 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.
ÿÿ