public final class JnaServiceConnection extends JnaConnection<IServiceProperties,JnaService>
attachProperties
Constructor and Description |
---|
JnaServiceConnection(FbClientLibrary clientLibrary,
IServiceProperties connectionProperties)
Creates a JnaServiceConnection (without establishing a connection to the server).
|
JnaServiceConnection(FbClientLibrary clientLibrary,
IServiceProperties connectionProperties,
IEncodingFactory encodingFactory)
Creates a JnaServiceConnection (without establishing a connection to the server).
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
createAttachUrl(DbAttachInfo dbAttachInfo,
IServiceProperties attachProperties) |
JnaService |
identify()
Contrary to the description in the super class, this will simply return an unconnected instance.
|
getAttachUrl, getClientLibrary, processStatusVector, toAttachUrl
createDbCryptCallback, getAttachProperties, getEncoding, getEncodingDefinition, getEncodingFactory, isLockedByCurrentThread, withLock
public JnaServiceConnection(FbClientLibrary clientLibrary, IServiceProperties connectionProperties) throws java.sql.SQLException
clientLibrary
- Client library to useconnectionProperties
- Connection propertiesjava.sql.SQLException
public JnaServiceConnection(FbClientLibrary clientLibrary, IServiceProperties connectionProperties, IEncodingFactory encodingFactory) throws java.sql.SQLException
clientLibrary
- Client library to useconnectionProperties
- Connection propertiesencodingFactory
- Factory for encoding definitionsjava.sql.SQLException
protected java.lang.String createAttachUrl(DbAttachInfo dbAttachInfo, IServiceProperties attachProperties)
createAttachUrl
in class JnaConnection<IServiceProperties,JnaService>
public JnaService identify() throws java.sql.SQLException
identify
in class AbstractConnection<IServiceProperties,JnaService>
java.sql.SQLException
- For exceptions connectingCopyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.