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

Public Member Functions | |
| FirebirdPreparedStatement (isc_db_handle pDatabase, isc_tr_handle pTransaction) | |
| virtual | ~FirebirdPreparedStatement () |
| virtual void | Close () |
| Close the result set (call DatabaseLayer::ClosePreparedStatement() instead on the statement). | |
| void | AddPreparedStatement (const wxString &strSQL) |
| 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 &date) |
| 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. | |
| void | SetManageTransaction (bool bManageTransaction) |
Static Public Member Functions | |
| static FirebirdPreparedStatement * | CreateStatement (isc_db_handle pDatabase, isc_tr_handle pTransaction, const wxString &strSQL, const wxCSConv *conv) |
|
||||||||||||
|
Definition at line 9 of file FirebirdPreparedStatement.cpp. Referenced by CreateStatement(). |
|
|
Definition at line 25 of file FirebirdPreparedStatement.cpp. References Close(). |
|
|
Definition at line 56 of file FirebirdPreparedStatement.cpp. References DatabaseStringConverter::GetEncoding(), and DatabaseStringConverter::SetEncoding(). Referenced by CreateStatement(). |
|
|
Close the result set (call DatabaseLayer::ClosePreparedStatement() instead on the statement).
Implements PreparedStatement. Definition at line 30 of file FirebirdPreparedStatement.cpp. References PreparedStatement::CloseResultSets(), and DatabaseErrorReporter::ThrowDatabaseException(). Referenced by ~FirebirdPreparedStatement(). |
|
||||||||||||||||||||
|
|
Implements PreparedStatement. Definition at line 237 of file FirebirdPreparedStatement.cpp. |
|
|
Run an insert, update, or delete query on the database.
Implements PreparedStatement. Definition at line 251 of file FirebirdPreparedStatement.cpp. References DATABASE_LAYER_OK, DatabaseErrorReporter::SetErrorCode(), DatabaseErrorReporter::SetErrorMessage(), and DatabaseErrorReporter::ThrowDatabaseException(). |
|
|
Run an insert, update, or delete query on the database.
Implements PreparedStatement. Definition at line 283 of file FirebirdPreparedStatement.cpp. References DATABASE_LAYER_OK, DatabaseStringConverter::GetEncoding(), DatabaseErrorReporter::GetErrorCode(), DatabaseErrorReporter::GetErrorMessage(), PreparedStatement::LogResultSetForCleanup(), FirebirdPreparedStatementWrapper::RunQueryWithResults(), DatabaseStringConverter::SetEncoding(), DatabaseErrorReporter::SetErrorCode(), DatabaseErrorReporter::SetErrorMessage(), FirebirdPreparedStatementWrapper::SetTransaction(), and DatabaseErrorReporter::ThrowDatabaseException(). |
|
|
Definition at line 50 of file FirebirdPreparedStatement.h. Referenced by CreateStatement(). |
|
||||||||||||||||
|
Set the parameter at the 1-based position to a Blob value.
Implements PreparedStatement. Definition at line 210 of file FirebirdPreparedStatement.cpp. |
|
||||||||||||
|
Set the parameter at the 1-based position to a boolean value.
Implements PreparedStatement. Definition at line 228 of file FirebirdPreparedStatement.cpp. |
|
||||||||||||
|
Set the parameter at the 1-based position to a wxDateTime value.
Implements PreparedStatement. Definition at line 219 of file FirebirdPreparedStatement.cpp. |
|
||||||||||||
|
Set the parameter at the 1-based position to a double value.
Implements PreparedStatement. Definition at line 183 of file FirebirdPreparedStatement.cpp. |
|
||||||||||||
|
Set the parameter at the 1-based position to an int value.
Implements PreparedStatement. Definition at line 174 of file FirebirdPreparedStatement.cpp. |
|
|
Set the parameter at the 1-based position to a NULL value.
Implements PreparedStatement. Definition at line 201 of file FirebirdPreparedStatement.cpp. |
|
||||||||||||
|
Set the parameter at the 1-based position to a wxString value.
Implements PreparedStatement. Definition at line 192 of file FirebirdPreparedStatement.cpp. |
1.4.1