#include <OdbcPreparedStatement.h>
Inheritance diagram for OdbcPreparedStatement:

Public Member Functions | |
| OdbcPreparedStatement (SQLHENV sqlEnvHandle, SQLHDBC sqlHDBC) | |
| OdbcPreparedStatement (SQLHENV sqlEnvHandle, SQLHDBC sqlHDBC, SQLHSTMT sqlStatementHandle) | |
| OdbcPreparedStatement (SQLHENV sqlEnvHandle, SQLHDBC sqlHDBC, StatementVector statements) | |
| virtual | ~OdbcPreparedStatement () |
| virtual void | Close () |
| Close the result set (call DatabaseLayer::ClosePreparedStatement() instead on the statement). | |
| void | AddPreparedStatement (SQLHSTMT pStatement) |
| virtual void | SetParamInt (int nPosition, int nValue) |
| Set the parameter at the 1-based position to an int value. | |
| virtual void | SetParamDouble (int nPosition, double dblValue) |
| Set the parameter at the 1-based position to a double value. | |
| virtual void | SetParamString (int nPosition, const wxString &strValue) |
| Set the parameter at the 1-based position to a wxString value. | |
| virtual void | SetParamNull (int nPosition) |
| Set the parameter at the 1-based position to a NULL value. | |
| virtual void | SetParamBlob (int nPosition, const void *pData, long nDataLength) |
| Set the parameter at the 1-based position to a Blob value. | |
| virtual void | SetParamDate (int nPosition, const wxDateTime &dateValue) |
| Set the parameter at the 1-based position to a wxDateTime value. | |
| virtual void | SetParamBool (int nPosition, bool bValue) |
| Set the parameter at the 1-based position to a boolean value. | |
| virtual int | GetParameterCount () |
| virtual void | RunQuery () |
| Run an insert, update, or delete query on the database. | |
| virtual DatabaseResultSet * | RunQueryWithResults () |
| Run an insert, update, or delete query on the database. | |
| virtual DatabaseResultSet * | RunQueryWithResults (bool bLogForCleanup) |
| SQLHSTMT | GetLastStatement () |
| void | SetOneTimer (bool bOneTimer=true) |
|
||||||||||||
|
Definition at line 6 of file OdbcPreparedStatement.cpp. |
|
||||||||||||||||
|
Definition at line 14 of file OdbcPreparedStatement.cpp. |
|
||||||||||||||||
|
Definition at line 23 of file OdbcPreparedStatement.cpp. |
|
|
Definition at line 33 of file OdbcPreparedStatement.cpp. References Close(). |
|
|
Definition at line 79 of file OdbcPreparedStatement.cpp. |
|
|
Close the result set (call DatabaseLayer::ClosePreparedStatement() instead on the statement).
Implements PreparedStatement. Definition at line 39 of file OdbcPreparedStatement.cpp. References PreparedStatement::CloseResultSets(), and DatabaseErrorReporter::ThrowDatabaseException(). Referenced by ~OdbcPreparedStatement(). |
|
|
Definition at line 57 of file OdbcPreparedStatement.h. Referenced by OdbcResultSet::GetResultBlob(), OdbcResultSet::Next(), and OdbcResultSet::OdbcResultSet(). |
|
|
Implements PreparedStatement. Definition at line 141 of file OdbcPreparedStatement.cpp. References DatabaseErrorReporter::ResetErrorCodes(), and DatabaseErrorReporter::ThrowDatabaseException(). |
|
|
Run an insert, update, or delete query on the database.
Implements PreparedStatement. Definition at line 164 of file OdbcPreparedStatement.cpp. References DatabaseErrorReporter::ResetErrorCodes(), and DatabaseErrorReporter::ThrowDatabaseException(). Referenced by OdbcDatabaseLayer::RunQuery(). |
|
|
Definition at line 199 of file OdbcPreparedStatement.cpp. References PreparedStatement::LogResultSetForCleanup(), DatabaseErrorReporter::ResetErrorCodes(), and DatabaseErrorReporter::ThrowDatabaseException(). |
|
|
Run an insert, update, or delete query on the database.
Implements PreparedStatement. Definition at line 194 of file OdbcPreparedStatement.cpp. Referenced by OdbcDatabaseLayer::RunQueryWithResults(). |
|
|
Definition at line 58 of file OdbcPreparedStatement.h. Referenced by OdbcDatabaseLayer::RunQueryWithResults(). |
|
||||||||||||||||
|
Set the parameter at the 1-based position to a Blob value.
Implements PreparedStatement. Definition at line 117 of file OdbcPreparedStatement.cpp. References DatabaseErrorReporter::ResetErrorCodes(). |
|
||||||||||||
|
Set the parameter at the 1-based position to a boolean value.
Implements PreparedStatement. Definition at line 133 of file OdbcPreparedStatement.cpp. References DatabaseErrorReporter::ResetErrorCodes(). |
|
||||||||||||
|
Set the parameter at the 1-based position to a wxDateTime value.
Implements PreparedStatement. Definition at line 125 of file OdbcPreparedStatement.cpp. References DatabaseErrorReporter::ResetErrorCodes(). |
|
||||||||||||
|
Set the parameter at the 1-based position to a double value.
Implements PreparedStatement. Definition at line 93 of file OdbcPreparedStatement.cpp. References DatabaseErrorReporter::ResetErrorCodes(). |
|
||||||||||||
|
Set the parameter at the 1-based position to an int value.
Implements PreparedStatement. Definition at line 85 of file OdbcPreparedStatement.cpp. References DatabaseErrorReporter::ResetErrorCodes(). |
|
|
Set the parameter at the 1-based position to a NULL value.
Implements PreparedStatement. Definition at line 109 of file OdbcPreparedStatement.cpp. References DatabaseErrorReporter::ResetErrorCodes(). |
|
||||||||||||
|
Set the parameter at the 1-based position to a wxString value.
Implements PreparedStatement. Definition at line 101 of file OdbcPreparedStatement.cpp. References DatabaseErrorReporter::ResetErrorCodes(). |
1.4.1