T - Type of attach propertiesC - Type of connection handlepublic abstract class AbstractConnection<T extends IAttachProperties<T>,C extends FbAttachment>
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected T | attachProperties | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractConnection(T attachProperties,
                  IEncodingFactory encodingFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| DbCryptCallback | createDbCryptCallback()Creates an instance of  DbCryptCallbackfor this connection. | 
| T | getAttachProperties() | 
| Encoding | getEncoding() | 
| EncodingDefinition | getEncodingDefinition() | 
| IEncodingFactory | getEncodingFactory() | 
| abstract C | identify()Performs the connection identification phase of the protocol and returns the connection handle implementation
 for the agreed protocol. | 
| protected boolean | isLockedByCurrentThread() | 
| protected LockCloseable | withLock() | 
protected final T extends IAttachProperties<T> attachProperties
protected AbstractConnection(T attachProperties, IEncodingFactory encodingFactory) throws java.sql.SQLException
java.sql.SQLExceptionprotected final LockCloseable withLock()
FbAttachment.withLock()protected final boolean isLockedByCurrentThread()
FbAttachment.isLockedByCurrentThread()public abstract C identify() throws java.sql.SQLException
FbDatabase or FbService)java.sql.SQLException - For exceptions connectingpublic final T getAttachProperties()
public final EncodingDefinition getEncodingDefinition()
public final Encoding getEncoding()
public final IEncodingFactory getEncodingFactory()
@InternalApi public final DbCryptCallback createDbCryptCallback() throws java.sql.SQLException
DbCryptCallback for this connection.java.sql.SQLException - For errors initializing the callbackCopyright © 2001-2025 Jaybird (Firebird JDBC) team. All rights reserved.