#include <transactionitf.h>
Inheritance diagram for pqxx::TransactionItf:

| Public Member Functions | |
| virtual | ~TransactionItf ()=0 | 
| void | Commit () | 
| void | Abort () | 
| Result | Exec (const char[]) | 
| Execute query directly. | |
| Result | Exec (const PGSTD::string &Q) | 
| Execute query directly. | |
| void | ProcessNotice (const char Msg[]) | 
| Have connection process warning message. | |
| void | ProcessNotice (const PGSTD::string &Msg) | 
| Have connection process warning message. | |
| PGSTD::string | Name () const | 
| ConnectionItf & | Conn () const | 
| Connection this transaction is running in. | |
| Protected Member Functions | |
| TransactionItf (ConnectionItf &, const PGSTD::string &TName=PGSTD::string()) | |
| void | Begin () | 
| void | End () throw () | 
| End transaction. To be called by implementing class' destructor. | |
| virtual void | DoBegin ()=0 | 
| To be implemented by derived implementation class. | |
| virtual Result | DoExec (const char C[])=0 | 
| virtual void | DoCommit ()=0 | 
| virtual void | DoAbort ()=0 | 
| Result | DirectExec (const char C[], int Retries, const char OnReconnect[]) | 
| Execute query on connection directly. | |
| Friends | |
| class | Cursor | 
| class | TableStream | 
| class | TableReader | 
| class | TableWriter | 
All database access must be channeled through one of these classes for safety, although not all implementations of this interface need to provide full transactional integrity.
| 
 | 
| 
 | 
| 
 | ||||||||||||
| Create a transaction. The optional name, if given, must begin with a letter and may contain letters and digits only. | 
| 
 | 
| 
 | 
| 
 | 
| Begin transaction. To be called by implementing class, typically from constructor. | 
| 
 | 
| 
 | 
| 
 | 
| Connection this transaction is running in. 
 | 
| 
 | ||||||||||||||||
| Execute query on connection directly. 
 | 
| 
 | 
| 
 | 
| 
 | 
| To be implemented by derived implementation class. 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| End transaction. To be called by implementing class' destructor. 
 | 
| 
 | 
| Execute query directly. 
 | 
| 
 | 
| Execute query directly. 
 | 
| 
 | 
| 
 | 
| 
 | 
| Have connection process warning message. 
 | 
| 
 | 
| Have connection process warning message. 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
 1.3-rc3
1.3-rc3