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
public class V11ParameterConverter extends V10ParameterConverter
Implementation ofParameterConverter
for the version 11 protocol.Adds support for including the process name and process id from the system properties
org.firebirdsql.jdbc.processName
andorg.firebirdsql.jdbc.pid
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
-
Constructor Summary
Constructors Constructor Description V11ParameterConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addProcessId(DatabaseParameterBuffer dpb)
Adds the processId (pid) to the dpb, if available.protected void
addProcessName(DatabaseParameterBuffer dpb)
Adds the processName to the dpb, if available.protected void
populateDefaultProperties(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
populateAuthenticationProperties
-
Methods inherited from class org.firebirdsql.gds.ng.AbstractParameterConverter
createDatabaseParameterBuffer, createServiceParameterBuffer, populateDefaultProperties, populateNonStandardProperties, toDatabaseParameterBuffer, toServiceParameterBuffer
-
-
-
-
Method Detail
-
populateDefaultProperties
protected void populateDefaultProperties(WireDatabaseConnection connection, DatabaseParameterBuffer dpb) throws java.sql.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
- Database connectiondpb
- Database parameter buffer to populate- Throws:
java.sql.SQLException
- For errors generating authentication information
-
addProcessName
protected final void addProcessName(DatabaseParameterBuffer dpb)
Adds the processName to the dpb, if available.- Parameters:
dpb
- Database parameter buffer
-
addProcessId
protected final void addProcessId(DatabaseParameterBuffer dpb)
Adds the processId (pid) to the dpb, if available.- Parameters:
dpb
- Database Database parameter buffer
-
-