1 #ifndef INCLUDE_ORA_TRANSACTION_H
2 #define INCLUDE_ORA_TRANSACTION_H
21 bool start(
bool readOnly=
true );
30 bool isActive(
bool checkIfReadOnly=
false )
const;
bool isActive(bool checkIfReadOnly=false) const
Checks if the transaction is active.
bool start(bool readOnly=true)
Starts a new transaction. Returns the success of the operation.
virtual ~Transaction()
Default destructor.
bool rollback()
Rolls back the transaction.
bool commit()
Commits the transaction.
DatabaseSession & m_session
Transaction(DatabaseSession &session)