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);
Manages the connection to the database server.
Definition: connection.h:60
Compile-time substitute for Transaction, which purposely does nothing. Use it to instantiate template...
Definition: transaction.h:138
void rollback()
stub to replace Transaction::rollback()
Definition: transaction.h:152
void commit()
stub to replace Transaction::commit()
Definition: transaction.h:149
NoTransaction(Connection &, bool=false)
Constructor.
Definition: transaction.h:141
~NoTransaction()
Destructor.
Definition: transaction.h:146
Helper object for creating exception-safe SQL transactions.
Definition: transaction.h:47
IsolationLevel
Transaction isolation levels defined in SQL.
Definition: transaction.h:55
@ read_uncommitted
allow "dirty reads" from other transactions
Definition: transaction.h:56
@ repeatable_read
other transactions do not affect repeated reads in this transaction
Definition: transaction.h:58
@ read_committed
only read rows committed by other transactions
Definition: transaction.h:57
IsolationScope
Isolation level scopes defined in SQL.
Definition: transaction.h:67
@ session
change level for all transactions in this session
Definition: transaction.h:69
@ this_transaction
change level for this transaction only
Definition: transaction.h:68
This file includes top-level definitions for use both internal to the library, and outside it....