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

Public Methods | |
| virtual | ~TransactionItf ()=0 |
| void | Commit () |
| void | Abort () |
| Result | Exec (const char[]) |
| Execute query directly. | |
| void | ProcessNotice (const char Msg[]) |
| void | ProcessNotice (PGSTD::string Msg) |
| PGSTD::string | Name () const |
Protected Methods | |
| TransactionItf (Connection &, PGSTD::string Name=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. | |
| Connection & | Conn () const |
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. |
|
|
|
|
|
|
|
||||||||||||||||
|
Execute query on connection directly.
|
|
|
|
|
|
To be implemented by derived implementation class.
|
|
|
|
|
|
|
|
|
End transaction. To be called by implementing class' destructor.
|
|
|
Execute query directly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc1