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 DatabaseParameterBuffercreateDatabaseParameterBuffer(WireDatabaseConnection connection) protected ServiceParameterBuffercreateServiceParameterBuffer(WireServiceConnection connection) protected voidpopulateAuthenticationProperties(AbstractConnection<?, ?> connection, ConnectionParameterBuffer pb) Populates the authentication properties of the parameter buffer.protected voidpopulateDefaultProperties(WireDatabaseConnection connection, DatabaseParameterBuffer dpb) Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties.protected voidpopulateDefaultProperties(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, addProcessNameMethods inherited from class org.firebirdsql.gds.ng.AbstractParameterConverter
toDatabaseParameterBuffer, toServiceParameterBuffer
-
Constructor Details
-
V13ParameterConverter
public V13ParameterConverter()
-
-
Method Details
-
createDatabaseParameterBuffer
- Overrides:
createDatabaseParameterBufferin classV12ParameterConverter
-
createServiceParameterBuffer
- Overrides:
createServiceParameterBufferin classV12ParameterConverter
-
populateDefaultProperties
protected void populateDefaultProperties(WireDatabaseConnection connection, DatabaseParameterBuffer dpb) throws SQLException Description copied from class:AbstractParameterConverterPopulates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties.- Overrides:
populateDefaultPropertiesin 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:AbstractParameterConverterPopulates the authentication properties of the parameter buffer.- Overrides:
populateAuthenticationPropertiesin 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:AbstractParameterConverterPopulates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties.- Overrides:
populateDefaultPropertiesin classAbstractParameterConverter<WireDatabaseConnection,WireServiceConnection> - Parameters:
connection- Service connectionspb- Service parameter buffer to populate- Throws:
SQLException- For errors generating authentication information
-