public class V12Database extends V11Database
FbWireDatabase implementation for the version 12 wire protocol.FbWireAttachment.AcceptPacketprotocolDescriptor, wireOperationsdatabaseListenerDispatcherconnection, 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, releaseObjectafterAttachActions, attach, attachOrCreate, authReceiveResponse, createDatabase, createStatement, doReleaseObjectPacket, dropDatabase, executeImmediate, getBlrCalculator, getDatabaseInfo, getHandle, getTransactionIdBuffer, initAsynchronousChannel, internalDetach, processAttachOrCreateResponse, processReleaseObjectResponse, reconnectTransaction, sendAttachOrCreateToBuffer, startTransactioncancelEvent, checkAttached, checkConnected, closeConnection, consumePackets, countEvents, createBlobForInput, createBlobForOutput, createEventHandle, finalize, forceClose, getXdrIn, getXdrOut, getXdrStreamAccess, isAttached, queueEvent, readGenericResponse, readResponse, readSqlResponse, setNetworkTimeoutaddDatabaseListener, addWeakDatabaseListener, close, createBlobParameterBuffer, createTransactionParameterBuffer, emptyRowDescriptor, getActiveTransactionCount, getConnectionDialect, getConnectionProperties, getDatabaseDialect, getDatabaseInfo, getDatabaseInformationProcessor, getDatabaseWarningCallback, getDescribeDatabaseInfoBlock, getOdsMajor, getOdsMinor, getParameterDescriptionInfoRequestItems, getStatementInfoRequestItems, removeDatabaseListener, setDatabaseDialect, setOdsMajor, setOdsMinor, transactionAdded, transactionStateChangedaddExceptionListener, getDatatypeCoder, getEncoding, getEncodingFactory, getNetworkTimeout, getServerVersion, getServerVersionInformation, getSynchronizationObject, removeExceptionListener, safelyDetach, setAttached, setDetached, setServerVersionclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconsumePackets, readResponse, readSqlResponseaddDatabaseListener, addWeakDatabaseListener, cancelEvent, countEvents, createBlobForInput, createBlobForOutput, createBlobParameterBuffer, createEventHandle, createTransactionParameterBuffer, emptyRowDescriptor, getConnectionDialect, getConnectionProperties, getDatabaseDialect, getDatabaseInfo, getOdsMajor, getOdsMinor, queueEvent, removeDatabaseListenergetXdrStreamAccess, readGenericResponseclose, forceClose, getDatatypeCoder, getEncoding, getEncodingFactory, getNetworkTimeout, getServerVersion, getSynchronizationObject, isAttached, setNetworkTimeoutaddExceptionListener, removeExceptionListenerprotected 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
FbDatabaseThe cancellation types are:
ISCConstants.fb_cancel_disableISCConstants.fb_cancel_enableISCConstants.fb_cancel_raiseISCConstants.fb_cancel_abortcancelOperation in interface FbDatabasecancelOperation in class V10Databasekind - 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 V10Databasedpb - Database parameter bufferV12ParameterConverterCopyright © 2001-2023 Jaybird (Firebird JDBC/JCA) team. All rights reserved.