public class V11Statement extends V10Statement
FbWireStatement implementation for the version 11 wire protocol.exceptionListenerDispatcher, statementListenerDispatcher| Constructor and Description |
|---|
V11Statement(FbWireDatabase database)
Creates a new instance of V11Statement for the specified database.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
free(int option)
Frees the currently allocated statement (either close the cursor with
ISCConstants.DSQL_close or drop the statement
handle using ISCConstants.DSQL_drop. |
void |
prepare(java.lang.String statementText)
Prepare the statement text.
|
doFreePacket, execute, fetchRows, getDefaultSqlInfoSize, getMaxSqlInfoSize, getSqlInfo, processAllocateResponse, processExecuteResponse, processExecuteSingletonResponse, processFetchResponse, processFreeResponse, processInfoSqlResponse, processPrepareResponse, readColumnData, readSqlData, sendAllocate, sendExecute, sendFetch, sendFree, sendInfoSql, sendPrepare, setCursorName, writeColumnData, writeSqlDatacalculateBlr, calculateBlr, close, emptyRowDescriptor, getDatabase, getHandle, getXdrIn, getXdrOut, isValidTransactionClass, setHandleaddExceptionListener, addStatementListener, checkStatementValid, checkStatementValid, closeCursor, closeCursor, createExecutionPlanProcessor, createSqlCountProcessor, ensureClosedCursor, finalize, getAllowedTimeout, getExecutionPlan, getExplainedExecutionPlan, getFieldDescriptor, getParameterDescriptionInfoRequestItems, getParameterDescriptor, getRowDescriptor, getSqlCounts, getSqlInfo, getState, getStatementInfoRequestItems, getStatementWarningCallback, getSynchronizationObject, getTimeout, getTransaction, getTransactionListener, getType, hasFields, hasSingletonResult, isAllRowsFetched, isPrepareAllowed, parseStatementInfo, queueRowData, removeExceptionListener, removeStatementListener, reset, reset, resetAll, setAllRowsFetched, setFieldDescriptor, setParameterDescriptor, setRowDescriptor, setTimeout, setTransaction, setType, signalExecute, signalFetch, switchState, validateParametersclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatementListener, close, closeCursor, closeCursor, emptyRowDescriptor, ensureClosedCursor, getDatabase, getExecutionPlan, getExplainedExecutionPlan, getFieldDescriptor, getHandle, getParameterDescriptor, getRowDescriptor, getSqlCounts, getSqlInfo, getState, getTimeout, getTransaction, getType, removeStatementListener, setTimeout, setTransaction, validateParametersaddExceptionListener, removeExceptionListenerpublic V11Statement(FbWireDatabase database)
database - FbWireDatabase implementationpublic void prepare(java.lang.String statementText)
throws java.sql.SQLException
FbStatement
If this handle is in state StatementState.NEW then it will first allocate the statement.
prepare in interface FbStatementprepare in class V10StatementstatementText - Statement textjava.sql.SQLException - If a database access error occurs, or this statement is currently executing a query.protected void free(int option)
throws java.sql.SQLException
AbstractFbStatementISCConstants.DSQL_close or drop the statement
handle using ISCConstants.DSQL_drop.free in class V10Statementoption - Free optionjava.sql.SQLExceptionCopyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.