Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

pqxx::dbtransaction Class Reference

Abstract base class responsible for bracketing a backend transaction. More...

#include <dbtransaction.h>

Inheritance diagram for pqxx::dbtransaction:

pqxx::transaction_base pqxx::basic_robusttransaction pqxx::basic_transaction pqxx::robusttransaction< ISOLATIONLEVEL > pqxx::transaction< ISOLATIONLEVEL > List of all members.

Protected Member Functions

 dbtransaction (connection_base &C, const PGSTD::string &IsolationString, const PGSTD::string &NName)
const PGSTD::string & StartCmd () const
 The SQL command needed to start this type of transaction.


Detailed Description

Abstract base class responsible for bracketing a backend transaction.

The actual operations for beginning and committing/aborting the backend transaction are implemented by a derived class. The implementing concrete class must also call Begin() and End() from its constructors and destructors, respectively, and implement DoExec().


Constructor & Destructor Documentation

pqxx::dbtransaction::dbtransaction connection_base   C,
const PGSTD::string &    IsolationString,
const PGSTD::string &    NName
[explicit, protected]
 


Member Function Documentation

const PGSTD::string& pqxx::dbtransaction::StartCmd   const [protected]
 

The SQL command needed to start this type of transaction.


The documentation for this class was generated from the following file:
Generated on Sat Jun 7 00:49:36 2003 for libpqxx by doxygen1.3-rc3