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

Statement Class Reference

#include <Statement.h>

Inheritance diagram for Statement

Inheritance graph

List of all members.

Public Methods

virtual ~Statement ()
virtual ResultSetexecuteQuery (const nsAReadableString& sql)
virtual void execute (const nsAReadableString& sql)
virtual void close ()
virtual int executeUpdate (const nsAReadableString& sql)
virtual int getMaxFieldSize ()
virtual void setMaxFieldSize (int max)
virtual int getMaxRows ()
virtual void setMaxRows (int max)
virtual void setEscapeProcessing (bool enable)
virtual int getQueryTimeout ()
virtual void setQueryTimeout (int seconds)
virtual void cancel ()
virtual SQLWarning* getWarnings ()
virtual void clearWarnings ()
virtual void setCursorName (const nsAReadableString& name)
virtual ResultSetgetResultSet ()
virtual int getUpdateCount ()
virtual bool getMoreResults ()

Constructor & Destructor Documentation

Statement::~Statement ( ) [inline, virtual]

Definition at line 18 of file Statement.h.

Member Function Documentation

void Statement::cancel ( ) [inline, virtual]

Definition at line 31 of file Statement.h.

void Statement::clearWarnings ( ) [inline, virtual]

Definition at line 33 of file Statement.h.

void Statement::close ( ) [inline, virtual]

Reimplemented in PreparedStatementDB2, CallableStatementDB2, StatementODBC, PreparedStatementODBC, PreparedStatementOracle, CallableStatementOracle, PreparedStatementSybase, and CallableStatementSybase.

Definition at line 21 of file Statement.h.

Referenced by Transaction::aSeek(), ConnectionPoolODBC::buildPool(), Transaction::doDelete(), Transaction::doInsert(), Transaction::doSelect(), Report::doSelect(), and Transaction::doUpdate().

void Statement::execute ( const nsAReadableString & sql ) [inline, virtual]

Reimplemented in StatementODBC.

Definition at line 20 of file Statement.h.

Referenced by ConnectionPoolODBC::buildPool().

ResultSet * Statement::executeQuery ( const nsAReadableString & sql ) [inline, virtual]

Reimplemented in StatementODBC.

Definition at line 19 of file Statement.h.

Referenced by Transaction::aSeek().

int Statement::executeUpdate ( const nsAReadableString & sql ) [inline, virtual]

Definition at line 23 of file Statement.h.

int Statement::getMaxFieldSize ( ) [inline, virtual]

Definition at line 24 of file Statement.h.

int Statement::getMaxRows ( ) [inline, virtual]

Definition at line 26 of file Statement.h.

bool Statement::getMoreResults ( ) [inline, virtual]

Definition at line 37 of file Statement.h.

int Statement::getQueryTimeout ( ) [inline, virtual]

Definition at line 29 of file Statement.h.

ResultSet * Statement::getResultSet ( ) [inline, virtual]

Reimplemented in PreparedStatementDB2, PreparedStatementODBC, PreparedStatementOracle, and PreparedStatementSybase.

Definition at line 35 of file Statement.h.

Referenced by Transaction::doInsert(), Transaction::doSelect(), and Report::doSelect().

int Statement::getUpdateCount ( ) [inline, virtual]

Definition at line 36 of file Statement.h.

SQLWarning * Statement::getWarnings ( ) [inline, virtual]

Definition at line 32 of file Statement.h.

void Statement::setCursorName ( const nsAReadableString & name ) [inline, virtual]

Definition at line 34 of file Statement.h.

void Statement::setEscapeProcessing ( bool enable ) [inline, virtual]

Definition at line 28 of file Statement.h.

void Statement::setMaxFieldSize ( int max ) [inline, virtual]

Definition at line 25 of file Statement.h.

void Statement::setMaxRows ( int max ) [inline, virtual]

Definition at line 27 of file Statement.h.

void Statement::setQueryTimeout ( int seconds ) [inline, virtual]

Definition at line 30 of file Statement.h.

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