Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ConnectionOracle Class Reference

#include <DatabaseOracle.h>

Inheritance diagram for ConnectionOracle

Inheritance graph

[legend]
Collaboration diagram for ConnectionOracle:

Collaboration graph

[legend]
List of all members.

Public Methods

 ConnectionOracle (ConnectionPoolOracle* pPool)
virtual ~ConnectionOracle ()
void setAutoCommit (bool state)
void commit ()
void close ()
 Doesn't actually close the connection, but instead returns itself back to the pool to be re-used. More...

void rollback ()
StatementcreateStatement ()

Protected Methods

ConnectionPoolgetPool ()
PreparedStatementnewPreparedStatement (const nsAReadableString& sql)
CallableStatementnewCallableStatement (const nsAReadableString& sql)

Private Attributes

ConnectionPoolOraclem_pPool

Constructor & Destructor Documentation

ConnectionOracle::ConnectionOracle ( ConnectionPoolOracle * pPool )
 

Definition at line 39 of file DatabaseOracle.cpp.

ConnectionOracle::~ConnectionOracle ( ) [virtual]
 

Definition at line 66 of file DatabaseOracle.cpp.


Member Function Documentation

void ConnectionOracle::close ( ) [virtual]
 

Doesn't actually close the connection, but instead returns itself back to the pool to be re-used.

However, if you specified maxCheckouts in the constructor, then this *will* close the JDBC Connection and re-open it if the number of checkouts has been exceeded.

Reimplemented from Connection.

Definition at line 61 of file DatabaseOracle.cpp.

void ConnectionOracle::commit ( ) [virtual]
 

Reimplemented from Connection.

Definition at line 48 of file DatabaseOracle.cpp.

Statement * ConnectionOracle::createStatement ( ) [virtual]
 

Reimplemented from Connection.

Definition at line 56 of file DatabaseOracle.cpp.

ConnectionPool * ConnectionOracle::getPool ( ) [inline, protected, virtual]
 

Reimplemented from Connection.

Definition at line 36 of file DatabaseOracle.h.

CallableStatement * ConnectionOracle::newCallableStatement ( const nsAReadableString & sql ) [protected, virtual]
 

Reimplemented from Connection.

Definition at line 75 of file DatabaseOracle.cpp.

PreparedStatement * ConnectionOracle::newPreparedStatement ( const nsAReadableString & sql ) [protected, virtual]
 

Reimplemented from Connection.

Definition at line 70 of file DatabaseOracle.cpp.

void ConnectionOracle::rollback ( ) [virtual]
 

Reimplemented from Connection.

Definition at line 52 of file DatabaseOracle.cpp.

void ConnectionOracle::setAutoCommit ( bool state ) [virtual]
 

Reimplemented from Connection.

Definition at line 44 of file DatabaseOracle.cpp.


Member Data Documentation

ConnectionPoolOracle * ConnectionOracle::m_pPool [private]
 

Definition at line 40 of file DatabaseOracle.h.


The documentation for this class was generated from the following files:
Generated at Tue Sep 12 16:29:48 2000 by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000