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, writeSqlData
calculateBlr, calculateBlr, close, emptyRowDescriptor, getDatabase, getHandle, getXdrIn, getXdrOut, isValidTransactionClass, setHandle
addExceptionListener, addStatementListener, checkStatementValid, closeCursor, closeCursor, createExecutionPlanProcessor, createSqlCountProcessor, ensureClosedCursor, finalize, getExecutionPlan, getFieldDescriptor, getParameterDescriptionInfoRequestItems, getParameterDescriptor, getSqlCounts, getSqlInfo, getState, getStatementInfoRequestItems, getStatementWarningCallback, getSynchronizationObject, getTransaction, getTransactionListener, getType, hasFields, hasSingletonResult, isAllRowsFetched, isPrepareAllowed, parseStatementInfo, queueRowData, removeExceptionListener, removeStatementListener, reset, reset, resetAll, setAllRowsFetched, setFieldDescriptor, setParameterDescriptor, setTransaction, setType, switchState, validateParameters
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStatementListener, close, closeCursor, closeCursor, emptyRowDescriptor, ensureClosedCursor, getDatabase, getExecutionPlan, getFieldDescriptor, getHandle, getParameterDescriptor, getSqlCounts, getSqlInfo, getState, getTransaction, getType, removeStatementListener, setTransaction
addExceptionListener, removeExceptionListener
public 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 FbStatement
prepare
in class V10Statement
statementText
- 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
AbstractFbStatement
ISCConstants.DSQL_close
or drop the statement
handle using ISCConstants.DSQL_drop
.free
in class V10Statement
option
- Free optionjava.sql.SQLException
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.