32 #if !defined(MYSQLPP_TRANSACTION_H)
33 #define MYSQLPP_TRANSACTION_H
39 #if !defined(DOXYGEN_IGNORE)
41 class MYSQLPP_EXPORT Connection;
91 IsolationScope scope = this_transaction,
92 bool consistent =
false);
157 #endif // !defined(MYSQLPP_TRANSACTION_H)
void commit()
stub to replace Transaction::commit()
Definition: transaction.h:149
IsolationScope
Isolation level scopes defined in SQL.
Definition: transaction.h:67
void rollback()
stub to replace Transaction::rollback()
Definition: transaction.h:152
Compile-time substitute for Transaction, which purposely does nothing. Use it to instantiate template...
Definition: transaction.h:137
change level for this transaction only
Definition: transaction.h:68
only read rows committed by other transactions
Definition: transaction.h:57
Manages the connection to the database server.
Definition: connection.h:59
allow "dirty reads" from other transactions
Definition: transaction.h:56
Helper object for creating exception-safe SQL transactions.
Definition: transaction.h:46
~NoTransaction()
Destructor.
Definition: transaction.h:146
IsolationLevel
Transaction isolation levels defined in SQL.
Definition: transaction.h:55
other transactions do not affect repeated reads in this transaction
Definition: transaction.h:58
NoTransaction(Connection &, bool=false)
Constructor.
Definition: transaction.h:141
change level for all transactions in this session
Definition: transaction.h:69
This file includes top-level definitions for use both internal to the library, and outside it...