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

ConnectionSybase Class Reference

#include <DatabaseSybase.h>

Inheritance diagram for ConnectionSybase

Inheritance graph

[legend]
Collaboration diagram for ConnectionSybase:

Collaboration graph

[legend]
List of all members.

Public Methods

 ConnectionSybase (ConnectionPoolSybase* pPool)
virtual ~ConnectionSybase ()
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

ConnectionPoolSybasem_pPool

Constructor & Destructor Documentation

ConnectionSybase::ConnectionSybase ( ConnectionPoolSybase * pPool )
 

Definition at line 39 of file DatabaseSybase.cpp.

ConnectionSybase::~ConnectionSybase ( ) [virtual]
 

Definition at line 66 of file DatabaseSybase.cpp.


Member Function Documentation

void ConnectionSybase::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 DatabaseSybase.cpp.

void ConnectionSybase::commit ( ) [virtual]
 

Reimplemented from Connection.

Definition at line 48 of file DatabaseSybase.cpp.

Statement * ConnectionSybase::createStatement ( ) [virtual]
 

Reimplemented from Connection.

Definition at line 56 of file DatabaseSybase.cpp.

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

Reimplemented from Connection.

Definition at line 36 of file DatabaseSybase.h.

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

Reimplemented from Connection.

Definition at line 75 of file DatabaseSybase.cpp.

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

Reimplemented from Connection.

Definition at line 70 of file DatabaseSybase.cpp.

void ConnectionSybase::rollback ( ) [virtual]
 

Reimplemented from Connection.

Definition at line 52 of file DatabaseSybase.cpp.

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

Reimplemented from Connection.

Definition at line 44 of file DatabaseSybase.cpp.


Member Data Documentation

ConnectionPoolSybase * ConnectionSybase::m_pPool [private]
 

Definition at line 40 of file DatabaseSybase.h.


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