|
virtual | ~Statement () |
| Destructor.
|
|
Connection * | getConnection () |
| Returns the connection that created this statement.
|
|
void | cancel () |
| Cancel an ongoing operation that was executed in another thread.
|
|
virtual bool | execute (const std::string &sql) |
| Execute a given SQL statement.
|
|
virtual ResultSet * | executeQuery (const std::string &sql) |
| Execute an SQL statement, expected to return a resultset.
|
|
virtual int | executeUpdate (const std::string &sql) |
| Execute an SQL statement, expected to return an update count.
|
|
int | getUpdateCount () |
| Fetch the current result as an update count.
|
|
ResultSet * | getResultSet () |
| Fetch the current result as a ResultSet.
|
|
bool | getMoreResults () |
| Check if there are more results available on this statment.
|
|
void | setCursorName (const std::string &name) |
| Set the cursor name for this statement.
|
|
int | getFetchSize () |
| Fetch the current fetch size (also called rowset size) for resultsets created by this statement.
|
|
void | setFetchSize (int size) |
| Set the current fetch size for resultsets created by this statement.
|
|
int | getResultSetConcurrency () |
| Get the concurrency type for resultsets created by this statement.
|
|
int | getResultSetType () |
| Get the type for resultsets created by this statement.
|
|
int | getQueryTimeout () |
| Get the query timeout for this statement.
|
|
void | setQueryTimeout (int seconds) |
| Set the query timeout for this statement.
|
|
int | getMaxRows () |
| Get the maximum number of rows to return in a resultset.
|
|
void | setMaxRows (int maxRows) |
| Set the maximum number of rows to return in a resultset.
|
|
int | getMaxFieldSize () |
| Get the maximum field size for resultsets create by this statement.
|
|
void | setMaxFieldSize (int maxFieldSize) |
| Set the maximum field size for resultsets create by this statement.
|
|
void | setEscapeProcessing (bool on) |
| Sets escape processing on or off.
|
|
bool | getEscapeProcessing () |
| Gets the current escape processing setting.
|
|
void | close () |
| Closes all result sets from this execution.
|
|
Public Member Functions inherited from odbc::ErrorHandler |
void | clearWarnings () |
| Clears all the warnings stored in this object.
|
|
WarningList * | getWarnings () |
| Fetches all the warnings in this object.
|
|
virtual | ~ErrorHandler () |
| Destructor.
|
|
A simple non-prepared statement.