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. | 
| java.lang.String | getAttachObjectName() | 
| T | getAttachProperties() | 
| Encoding | getEncoding() | 
| EncodingDefinition | getEncodingDefinition() | 
| IEncodingFactory | getEncodingFactory() | 
| int | getPortNumber() | 
| java.lang.String | getServerName() | 
| abstract C | identify()Performs the connection identification phase of the protocol and returns the connection handle implementation
 for the agreed protocol. | 
protected final T extends IAttachProperties<T> attachProperties
protected AbstractConnection(T attachProperties, IEncodingFactory encodingFactory) throws java.sql.SQLException
java.sql.SQLExceptionpublic abstract C identify() throws java.sql.SQLException
FbDatabase or FbService)java.sql.SQLException - For exceptions connectingpublic final java.lang.String getServerName()
public final int getPortNumber()
public final java.lang.String getAttachObjectName()
public 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-2020 Jaybird (Firebird JDBC/JCA) team. All rights reserved.