tntdb::oracle::Connection Class Reference

#include <tntdb/oracle/connection.h>

Inheritance diagram for tntdb::oracle::Connection:
tntdb::IStmtCacheConnection tntdb::IConnection cxxtools::SimpleRefCounted

Public Member Functions

void checkError (sword ret, const char *function=0) const
 Connection (const char *conninfo)
 ~Connection ()
void beginTransaction ()
void commitTransaction ()
void rollbackTransaction ()
size_type execute (const std::string &query)
tntdb::Result select (const std::string &query)
tntdb::Row selectRow (const std::string &query)
tntdb::Value selectValue (const std::string &query)
tntdb::Statement prepare (const std::string &query)
tntdb::Statement prepareWithLimit (const std::string &query, const std::string &limit, const std::string &offset)
void clearStatementCache ()
bool ping ()
long lastInsertId (const std::string &name)
void lockTable (const std::string &tablename, bool exclusive)
OCIEnv * getEnvHandle () const
OCIError * getErrorHandle () const
OCIServer * getSrvHandle () const
OCISvcCtx * getSvcCtxHandle () const
bool isTransactionActive () const
- Public Member Functions inherited from tntdb::IStmtCacheConnection
virtual Statement prepareCached (const std::string &query, const std::string &key)
virtual Statement prepareCachedWithLimit (const std::string &query, const std::string &limit, const std::string &offset, const std::string &key)
virtual bool clearStatementCache (const std::string &key)

Additional Inherited Members

- Public Types inherited from tntdb::IConnection
typedef unsigned size_type

Constructor & Destructor Documentation

tntdb::oracle::Connection::Connection ( const char *  conninfo)
explicit
tntdb::oracle::Connection::~Connection ( )

Member Function Documentation

void tntdb::oracle::Connection::beginTransaction ( )
virtual

Implements tntdb::IConnection.

void tntdb::oracle::Connection::checkError ( sword  ret,
const char *  function = 0 
) const
void tntdb::oracle::Connection::clearStatementCache ( )
virtual

Reimplemented from tntdb::IStmtCacheConnection.

void tntdb::oracle::Connection::commitTransaction ( )
virtual

Implements tntdb::IConnection.

size_type tntdb::oracle::Connection::execute ( const std::string &  query)
virtual

Implements tntdb::IConnection.

OCIEnv* tntdb::oracle::Connection::getEnvHandle ( ) const
inline
OCIError* tntdb::oracle::Connection::getErrorHandle ( ) const
inline
OCIServer* tntdb::oracle::Connection::getSrvHandle ( ) const
inline
OCISvcCtx* tntdb::oracle::Connection::getSvcCtxHandle ( ) const
inline
bool tntdb::oracle::Connection::isTransactionActive ( ) const
inline
long tntdb::oracle::Connection::lastInsertId ( const std::string &  name)
virtual

Implements tntdb::IConnection.

void tntdb::oracle::Connection::lockTable ( const std::string &  tablename,
bool  exclusive 
)
virtual

Implements tntdb::IConnection.

bool tntdb::oracle::Connection::ping ( )
virtual

Implements tntdb::IConnection.

tntdb::Statement tntdb::oracle::Connection::prepare ( const std::string &  query)
virtual

Implements tntdb::IConnection.

tntdb::Statement tntdb::oracle::Connection::prepareWithLimit ( const std::string &  query,
const std::string &  limit,
const std::string &  offset 
)
virtual

Implements tntdb::IConnection.

void tntdb::oracle::Connection::rollbackTransaction ( )
virtual

Implements tntdb::IConnection.

tntdb::Result tntdb::oracle::Connection::select ( const std::string &  query)
virtual

Implements tntdb::IConnection.

tntdb::Row tntdb::oracle::Connection::selectRow ( const std::string &  query)
virtual

Implements tntdb::IConnection.

tntdb::Value tntdb::oracle::Connection::selectValue ( const std::string &  query)
virtual

Implements tntdb::IConnection.


The documentation for this class was generated from the following file: