#include <DatabaseODBC.h>
Inheritance diagram for ConnectionODBC


Public Methods | |
| ConnectionODBC (ConnectionPoolODBC* pPool) | |
| virtual | ~ConnectionODBC () |
| 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 () |
| Statement* | createStatement () |
Protected Methods | |
| ConnectionPool* | getPool () |
| PreparedStatement* | newPreparedStatement (const nsAReadableString& sql) |
| CallableStatement* | newCallableStatement (const nsAReadableString& sql) |
Private Methods | |
| bool | connect () |
Private Attributes | |
| friend | PreparedStatementODBC |
| friend | CallableStatementODBC |
| friend | StatementODBC |
| ConnectionPoolODBC* | m_pPool |
| SQLHDBC | m_hdbc |
|
|
Definition at line 76 of file DatabaseODBC.cpp. |
|
|
Definition at line 188 of file DatabaseODBC.cpp. |
|
|
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 183 of file DatabaseODBC.cpp. |
|
|
Reimplemented from Connection. Definition at line 168 of file DatabaseODBC.cpp. |
|
|
Definition at line 82 of file DatabaseODBC.cpp. Referenced by ConnectionODBC(). |
|
|
Reimplemented from Connection. Definition at line 178 of file DatabaseODBC.cpp. |
|
|
Reimplemented from Connection. Definition at line 57 of file DatabaseODBC.h. |
|
|
Reimplemented from Connection. Definition at line 199 of file DatabaseODBC.cpp. |
|
|
Reimplemented from Connection. Definition at line 194 of file DatabaseODBC.cpp. |
|
|
Reimplemented from Connection. Definition at line 173 of file DatabaseODBC.cpp. |
|
|
Reimplemented from Connection. Definition at line 163 of file DatabaseODBC.cpp. |
|
|
Definition at line 46 of file DatabaseODBC.h. Referenced by newCallableStatement(). |
|
|
Definition at line 45 of file DatabaseODBC.h. Referenced by newPreparedStatement(). |
|
|
Definition at line 47 of file DatabaseODBC.h. Referenced by createStatement(). |
|
|
Definition at line 63 of file DatabaseODBC.h. |
|
|
Definition at line 62 of file DatabaseODBC.h. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000