| XmlTransaction::createChild |
![]() |
#include <DbXml.hpp>XmlTransaction XmlTransaction::createChild(u_int32_t flags = 0)
The XmlTransaction::createChild method creates a child transaction of this transaction. While this child transaction is active (has been neither committed nor aborted), the parent transaction may not issue any operations except for XmlTransaction::commit or XmlTransaction::abort.
ParametersThis behavior may be set for a Berkeley DB environment using the UNREF==dbenv_set_flags method. Any value specified to this method overrides that setting.
The error DB_LOCK_DEADLOCK will be returned from update operations if a snapshot transaction attempts to update data which was modified after the snapshot transaction read it.
This behavior is the default for Berkeley DB environments unless the DB_TXN_NOSYNC flag was specified to the UNREF==dbenv_set_flags method. Any value specified to this method overrides that setting.
![]()
|
Copyright (c) 1996-2009 Oracle. All rights reserved.