#include <ODBCConnection.h>
Inheritance diagram for acdk::sql::odbc::ODBCConnection:
Public Member Functions | |
virtual void | clearWarnings () |
JDKDOC: Clears all warnings reported for this Connection object. | |
virtual void | close () |
JDKDOC: Releases a Connection's database and JDBC resources immediately instead of waiting for them to be automatically released. | |
virtual void | commit () |
JDKDOC: Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by the Connection. | |
virtual RStatement | createStatement () |
JDKDOC: Creates a Statement object for sending SQL statements to the database. | |
virtual RStatement | createStatement (int resultSetType, int resultSetConcurrency) |
JDKDOC: JDBC 2.0 Creates a Statement object that will generate ResultSet objects with the given type and concurrency. | |
virtual bool | getAutoCommit () |
JDKDOC: Gets the current auto-commit state. | |
virtual RString | getCatalog () |
JDKDOC: Returns the Connection's current catalog name. | |
virtual RDatabaseMetaData | getMetaData () |
JDKDOC: Gets the metadata regarding this connection's database. | |
virtual int | getTransactionIsolation () |
JDKDOC: Gets this Connection's current transaction isolation level. | |
virtual acdk::util::RMap | getTypeMap () |
JDKDOC: JDBC 2.0 Gets the type map object associated with this connection. | |
virtual::acdk::sql::RSQLWarning | getWarnings () |
JDKDOC: Returns the first warning reported by calls on this Connection. | |
virtual bool | isClosed () |
JDKDOC: Tests to see if a Connection is closed. | |
virtual bool | isReadOnly () |
JDKDOC: Tests to see if the connection is in read-only mode. | |
virtual RString | nativeSQL (INP(RString) sql) |
JDKDOC: Converts the given SQL statement into the system's native SQL grammar. | |
virtual RCallableStatement | prepareCall (INP(RString) sql) |
JDKDOC: Creates a CallableStatement object for calling database stored procedures. | |
virtual RPreparedStatement | prepareStatement (INP(RString) sql) |
JDKDOC: Creates a PreparedStatement object for sending parameterized SQL statements to the database. | |
virtual void | rollback () |
JDKDOC: Drops all changes made since the previous commit/rollback and releases any database locks currently held by this Connection. | |
virtual void | setAutoCommit (bool autoCommit) |
JDKDOC: Sets this connection's auto-commit mode. | |
virtual void | setCatalog (INP(RString) catalog) |
JDKDOC: Sets a catalog name in order to select a subspace of this Connection's database in which to work. | |
virtual void | setReadOnly (bool readOnly) |
JDKDOC: Puts this connection in read-only mode as a hint to enable database optimizations. | |
virtual void | setTransactionIsolation (int level) |
JDKDOC: Attempts to change the transaction isolation level to the one given. | |
virtual void | setTypeMap (INP(acdk::util::RMap) map) |
JDKDOC: JDBC 2.0 Installs the given type map as the type map for this connection. | |
virtual RODBCHandle | _getODBCHandle () |
virtual RODBCDriver | _getODBCDriver () |
ODBCConnection (INP(RODBCDriver) driver) | |
~ODBCConnection () | |
RODBCConnection | init (INP(RString) url, INP(acdk::util::RProperties) prop) |
Private Member Functions | |
void | _setSQLFlag (SQLUINTEGER key, SQLUINTEGER val) |
void | _setSQLFlags () |
void | _parseProperties (INP(acdk::util::RProperties) prop) |
Private Attributes | |
RODBCDriver | _driver |
RODBCHandle | _dbch |
acdk::util::RProperties | _prop |
RString | _url |
int | _loginTimeout |
int | _connectionTimeout |
int | _queryTimeout |
bool | _opened |
bool | _readOnly |
bool | _autoCommit |
bool | _asyncCalls |
bool | _traceCalls |
int | _maxRows |
int | _maxLength |
bool | _scanEscapes |
bool | _scrollableCursors |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JDKDOC: Clears all warnings reported for this Connection object. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Releases a Connection's database and JDBC resources immediately instead of waiting for them to be automatically released. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by the Connection. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: JDBC 2.0 Creates a Statement object that will generate ResultSet objects with the given type and concurrency. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Creates a Statement object for sending SQL statements to the database. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Gets the current auto-commit state. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Returns the Connection's current catalog name. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Gets the metadata regarding this connection's database. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Gets this Connection's current transaction isolation level. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: JDBC 2.0 Gets the type map object associated with this connection. API: JDK
Implements acdk::sql::Connection. |
|
JDKDOC: Returns the first warning reported by calls on this Connection. API: JDK
Implements acdk::sql::Connection. |
|
|
|
JDKDOC: Tests to see if a Connection is closed. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Tests to see if the connection is in read-only mode. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Converts the given SQL statement into the system's native SQL grammar. API: JDK
Implements acdk::sql::Connection. |
|
JDKDOC: Creates a CallableStatement object for calling database stored procedures. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Creates a PreparedStatement object for sending parameterized SQL statements to the database. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Drops all changes made since the previous commit/rollback and releases any database locks currently held by this Connection. API: JDK
Implements acdk::sql::Connection. |
|
JDKDOC: Sets this connection's auto-commit mode. API: JDK
Implements acdk::sql::Connection. |
|
JDKDOC: Sets a catalog name in order to select a subspace of this Connection's database in which to work. API: JDK
Implements acdk::sql::Connection. |
|
JDKDOC: Puts this connection in read-only mode as a hint to enable database optimizations. API: JDK Implements acdk::sql::Connection. |
|
JDKDOC: Attempts to change the transaction isolation level to the one given. API: JDK
Implements acdk::sql::Connection. |
|
JDKDOC: JDBC 2.0 Installs the given type map as the type map for this connection. API: JDK
Implements acdk::sql::Connection. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|