22 #ifndef __ODBCXX_CONNECTION_H
23 #define __ODBCXX_CONNECTION_H
32 class DatabaseMetaData;
34 class PreparedStatement;
35 class CallableStatement;
42 friend class DriverInfo;
55 SQLUINTEGER _getNumericOption(SQLINTEGER optnum);
57 void _setNumericOption(SQLINTEGER optnum, SQLUINTEGER
value);
60 SQLHSTMT _allocStmt();
72 void _unregisterStatement(
Statement* stmt);
91 TRANSACTION_SERIALIZABLE
103 void setAutoCommit(
bool autoCommit);
118 TransactionIsolation getTransactionIsolation();
121 void setTransactionIsolation(TransactionIsolation isolation);
127 void setReadOnly(
bool readOnly);
134 void setTrace(
bool on);
159 Statement* createStatement(
int resultSetType,
160 int resultSetConcurrency);
179 int resultSetConcurrency);
197 int resultSetConcurrency);
210 #endif // __ODBCXX_CONNECTION_H