1 #ifndef CondCore_DBCommon_DbScopedTransaction_H
2 #define CondCore_DBCommon_DbScopedTransaction_H
23 int start(
bool readOnly =
false);
bool rollback()
rollback transaction
DbScopedTransaction(cond::DbSession &session)
bool isReadOnly() const
current transaction is readonly
int isActive() const
current transaction is active
int start(bool readOnly=false)
start transaction
cond::DbSession & m_session
bool isLocallyActive() const
query if locally has been activated
int commit()
commit transaction. Will disconnect from database if connection timeout==0 or connectted time close t...