Module org.firebirdsql.jaybird
Class V11ParameterConverter
java.lang.Object
org.firebirdsql.gds.ng.AbstractParameterConverter<WireDatabaseConnection,WireServiceConnection>
org.firebirdsql.gds.ng.wire.version10.V10ParameterConverter
org.firebirdsql.gds.ng.wire.version11.V11ParameterConverter
- All Implemented Interfaces:
ParameterConverter<WireDatabaseConnection,WireServiceConnection>
- Direct Known Subclasses:
V12ParameterConverter
Implementation of
ParameterConverter for the version 11 protocol.
Adds support for including the process name and process id from the system properties
org.firebirdsql.jdbc.processName and org.firebirdsql.jdbc.pid
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidAdds the processId (pid) to the dpb, if available.protected final voidAdds the processName to the dpb, if available.protected voidpopulateDefaultProperties(WireDatabaseConnection connection, DatabaseParameterBuffer dpb) Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties.Methods inherited from class org.firebirdsql.gds.ng.wire.version10.V10ParameterConverter
populateAuthenticationPropertiesMethods inherited from class org.firebirdsql.gds.ng.AbstractParameterConverter
createDatabaseParameterBuffer, createServiceParameterBuffer, populateDefaultProperties, toDatabaseParameterBuffer, toServiceParameterBuffer
-
Constructor Details
-
V11ParameterConverter
public V11ParameterConverter()
-
-
Method Details
-
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 classAbstractParameterConverter<WireDatabaseConnection,WireServiceConnection> - Parameters:
connection- Database connectiondpb- Database parameter buffer to populate- Throws:
SQLException- For errors generating authentication information
-
addProcessName
Adds the processName to the dpb, if available.- Parameters:
dpb- database parameter buffer
-
addProcessId
Adds the processId (pid) to the dpb, if available.- Parameters:
dpb- database parameter buffer
-