Module org.firebirdsql.jaybird
Class V13ParameterConverter
java.lang.Object
org.firebirdsql.gds.ng.AbstractParameterConverter<WireDatabaseConnection,WireServiceConnection>
org.firebirdsql.gds.ng.wire.version10.V10ParameterConverter
org.firebirdsql.gds.ng.wire.version11.V11ParameterConverter
org.firebirdsql.gds.ng.wire.version12.V12ParameterConverter
org.firebirdsql.gds.ng.wire.version13.V13ParameterConverter
- All Implemented Interfaces:
ParameterConverter<WireDatabaseConnection,
WireServiceConnection>
Implementation of
ParameterConverter
for the version 13 protocol.
Adds support for the new authentication model of the V13 protocol.
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DatabaseParameterBuffer
createDatabaseParameterBuffer
(WireDatabaseConnection connection) protected ServiceParameterBuffer
createServiceParameterBuffer
(WireServiceConnection connection) protected void
populateAuthenticationProperties
(AbstractConnection<?, ?> connection, ConnectionParameterBuffer pb) Populates the authentication properties of the parameter buffer.protected void
populateDefaultProperties
(WireDatabaseConnection connection, DatabaseParameterBuffer dpb) Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties
.protected void
populateDefaultProperties
(WireServiceConnection connection, ServiceParameterBuffer spb) Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties
.Methods inherited from class org.firebirdsql.gds.ng.wire.version11.V11ParameterConverter
addProcessId, addProcessName
Methods inherited from class org.firebirdsql.gds.ng.AbstractParameterConverter
toDatabaseParameterBuffer, toServiceParameterBuffer
-
Constructor Details
-
V13ParameterConverter
public V13ParameterConverter()
-
-
Method Details
-
createDatabaseParameterBuffer
- Overrides:
createDatabaseParameterBuffer
in classV12ParameterConverter
-
createServiceParameterBuffer
- Overrides:
createServiceParameterBuffer
in classV12ParameterConverter
-
populateDefaultProperties
protected void populateDefaultProperties(WireDatabaseConnection connection, DatabaseParameterBuffer dpb) throws SQLException Description copied from class:AbstractParameterConverter
Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties
.- Overrides:
populateDefaultProperties
in classV11ParameterConverter
- Parameters:
connection
- Database connectiondpb
- Database parameter buffer to populate- Throws:
SQLException
- For errors generating authentication information
-
populateAuthenticationProperties
protected void populateAuthenticationProperties(AbstractConnection<?, ?> connection, ConnectionParameterBuffer pb) throws SQLExceptionDescription copied from class:AbstractParameterConverter
Populates the authentication properties of the parameter buffer.- Overrides:
populateAuthenticationProperties
in classV10ParameterConverter
- Parameters:
connection
- Database connectionpb
- Parameter buffer to populate- Throws:
SQLException
- For errors generating authentication information
-
populateDefaultProperties
protected void populateDefaultProperties(WireServiceConnection connection, ServiceParameterBuffer spb) throws SQLException Description copied from class:AbstractParameterConverter
Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties
.- Overrides:
populateDefaultProperties
in classAbstractParameterConverter<WireDatabaseConnection,
WireServiceConnection> - Parameters:
connection
- Service connectionspb
- Service parameter buffer to populate- Throws:
SQLException
- For errors generating authentication information
-