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 ofParameterConverterfor the version 11 protocol.Adds support for including the process name and process id from the system properties org.firebirdsql.jdbc.processNameandorg.firebirdsql.jdbc.pid- Since:
- 3.0
- Author:
- Mark Rotteveel
 
- 
- 
Constructor SummaryConstructors Constructor Description V11ParameterConverter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddProcessId(DatabaseParameterBuffer dpb)Adds the processId (pid) to the dpb, if available.protected voidaddProcessName(DatabaseParameterBuffer dpb)Adds 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.V10ParameterConverterpopulateAuthenticationProperties
 - 
Methods inherited from class org.firebirdsql.gds.ng.AbstractParameterConvertercreateDatabaseParameterBuffer, createServiceParameterBuffer, populateDefaultProperties, toDatabaseParameterBuffer, toServiceParameterBuffer
 
- 
 
- 
- 
- 
Method Detail- 
populateDefaultPropertiesprotected void populateDefaultProperties(WireDatabaseConnection connection, DatabaseParameterBuffer dpb) throws java.sql.SQLException Description copied from class:AbstractParameterConverterPopulates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties.- Overrides:
- populateDefaultPropertiesin class- AbstractParameterConverter<WireDatabaseConnection,WireServiceConnection>
- Parameters:
- connection- Database connection
- dpb- Database parameter buffer to populate
- Throws:
- java.sql.SQLException- For errors generating authentication information
 
 - 
addProcessNameprotected final void addProcessName(DatabaseParameterBuffer dpb) Adds the processName to the dpb, if available.- Parameters:
- dpb- Database parameter buffer
 
 - 
addProcessIdprotected final void addProcessId(DatabaseParameterBuffer dpb) Adds the processId (pid) to the dpb, if available.- Parameters:
- dpb- Database parameter buffer
 
 
- 
 
-