public class V12Database extends V11Database
FbWireDatabase
implementation for the version 12 wire protocol.FbWireAttachment.AcceptPacket
protocolDescriptor, wireOperations
connection, exceptionListenerDispatcher
Modifier | Constructor and Description |
---|---|
protected |
V12Database(WireDatabaseConnection connection,
ProtocolDescriptor descriptor)
Creates a V12Database instance.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelOperation(int kind)
Cancels the current operation.
|
protected Encoding |
getFilenameEncoding(DatabaseParameterBuffer dpb)
Gets the
Encoding to use for the database filename. |
enqueueDeferredAction, releaseObject
afterAttachActions, attach, attachOrCreate, authReceiveResponse, createDatabase, createStatement, doReleaseObjectPacket, dropDatabase, executeImmediate, getBlrCalculator, getDatabaseInfo, getHandle, getTransactionIdBuffer, initAsynchronousChannel, internalDetach, processAttachOrCreateResponse, processReleaseObjectResponse, reconnectTransaction, sendAttachOrCreateToBuffer, startTransaction
cancelEvent, checkAttached, checkConnected, closeConnection, consumePackets, countEvents, createBlobForInput, createBlobForOutput, createEventHandle, finalize, getXdrIn, getXdrOut, getXdrStreamAccess, isAttached, queueEvent, readGenericResponse, readResponse, readSqlResponse
addDatabaseListener, addWeakDatabaseListener, close, createBlobParameterBuffer, createTransactionParameterBuffer, emptyRowDescriptor, getActiveTransactionCount, getConnectionDialect, getConnectionProperties, getDatabaseDialect, getDatabaseInfo, getDatabaseInformationProcessor, getDatabaseWarningCallback, getDescribeDatabaseInfoBlock, getOdsMajor, getOdsMinor, getParameterDescriptionInfoRequestItems, getStatementInfoRequestItems, removeDatabaseListener, setDatabaseDialect, setOdsMajor, setOdsMinor, transactionAdded, transactionStateChanged
addExceptionListener, createDbCryptCallback, getDatatypeCoder, getEncoding, getEncodingFactory, getServerVersion, getServerVersionInformation, getSynchronizationObject, removeExceptionListener, safelyDetach, setAttached, setDetached, setServerVersion
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
consumePackets, readResponse, readSqlResponse
addDatabaseListener, addWeakDatabaseListener, cancelEvent, countEvents, createBlobForInput, createBlobForOutput, createBlobParameterBuffer, createEventHandle, createTransactionParameterBuffer, emptyRowDescriptor, getConnectionDialect, getConnectionProperties, getDatabaseDialect, getDatabaseInfo, getOdsMajor, getOdsMinor, queueEvent, removeDatabaseListener
getXdrStreamAccess, readGenericResponse
close, getDatatypeCoder, getEncoding, getEncodingFactory, getServerVersion, getSynchronizationObject, isAttached
addExceptionListener, removeExceptionListener
protected V12Database(WireDatabaseConnection connection, ProtocolDescriptor descriptor)
connection
- A WireConnection with an established connection to the server.descriptor
- The ProtocolDescriptor that created this connection (this is
used for creating further dependent objects).public void cancelOperation(int kind) throws java.sql.SQLException
FbDatabase
The cancellation types are:
ISCConstants.fb_cancel_disable
ISCConstants.fb_cancel_enable
ISCConstants.fb_cancel_raise
ISCConstants.fb_cancel_abort
cancelOperation
in interface FbDatabase
cancelOperation
in class V10Database
kind
- Cancellation typejava.sql.SQLException
- For errors cancelling, or if the cancel operation is not supported.protected Encoding getFilenameEncoding(DatabaseParameterBuffer dpb)
Encoding
to use for the database filename.
For version 12 always returns the UTF8 encoding.
getFilenameEncoding
in class V10Database
dpb
- Database parameter bufferV12ParameterConverter
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.