#include <DatabaseDB2.h>
Inheritance diagram for ConnectionDB2


Public Methods | |
| ConnectionDB2 (ConnectionPoolDB2* pPool) | |
| virtual | ~ConnectionDB2 () |
| 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 Attributes | |
| ConnectionPoolDB2* | m_pPool |
|
|
Definition at line 39 of file DatabaseDB2.cpp. |
|
|
Definition at line 76 of file DatabaseDB2.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 71 of file DatabaseDB2.cpp. |
|
|
Reimplemented from Connection. Definition at line 48 of file DatabaseDB2.cpp. |
|
|
Reimplemented from Connection. Definition at line 56 of file DatabaseDB2.cpp. |
|
|
Reimplemented from Connection. Definition at line 36 of file DatabaseDB2.h. |
|
|
Reimplemented from Connection. Definition at line 66 of file DatabaseDB2.cpp. |
|
|
Reimplemented from Connection. Definition at line 61 of file DatabaseDB2.cpp. |
|
|
Reimplemented from Connection. Definition at line 52 of file DatabaseDB2.cpp. |
|
|
Reimplemented from Connection. Definition at line 44 of file DatabaseDB2.cpp. |
|
|
Definition at line 40 of file DatabaseDB2.h. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000