public abstract class AbstractParameterConverter<D extends AbstractConnection<IConnectionProperties,?>,S extends AbstractConnection<IServiceProperties,?>> extends java.lang.Object implements ParameterConverter<D,S>
ParameterConverter implementations.| Constructor and Description | 
|---|
| AbstractParameterConverter() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DatabaseParameterBuffer | createDatabaseParameterBuffer(D connection) | 
| protected ServiceParameterBuffer | createServiceParameterBuffer(S connection) | 
| protected abstract void | populateAuthenticationProperties(AbstractConnection connection,
                                ConnectionParameterBuffer pb)Populates the authentication properties of the parameter buffer. | 
| protected void | populateDefaultProperties(D connection,
                         DatabaseParameterBuffer dpb)Populates the database parameter buffer with the standard Firebird properties explicitly supported through
  IConnectionProperties. | 
| protected void | populateDefaultProperties(S connection,
                         ServiceParameterBuffer spb)Populates the database parameter buffer with the standard Firebird properties explicitly supported through
  IConnectionProperties. | 
| protected void | populateNonStandardProperties(D connection,
                             DatabaseParameterBuffer dpb)Populates the database parameter buffer with the non-standard properties (in
  IConnectionProperties.getExtraDatabaseParameters()). | 
| DatabaseParameterBuffer | toDatabaseParameterBuffer(D connection)Builds a  DatabaseParameterBufferfrom the supplied {code IConnectionProperties}. | 
| ServiceParameterBuffer | toServiceParameterBuffer(S connection)Builds a  ServiceParameterBufferfrom the supplied {code IServiceProperties}. | 
protected DatabaseParameterBuffer createDatabaseParameterBuffer(D connection)
protected ServiceParameterBuffer createServiceParameterBuffer(S connection)
public final DatabaseParameterBuffer toDatabaseParameterBuffer(D connection) throws java.sql.SQLException
ParameterConverterDatabaseParameterBuffer from the supplied {code IConnectionProperties}.toDatabaseParameterBuffer in interface ParameterConverter<D extends AbstractConnection<IConnectionProperties,?>,S extends AbstractConnection<IServiceProperties,?>>connection - Database connectionjava.sql.SQLException - For errorsprotected void populateDefaultProperties(D connection, DatabaseParameterBuffer dpb) throws java.sql.SQLException
IConnectionProperties.connection - Database connectiondpb - Database parameter buffer to populatejava.sql.SQLException - For errors generating authentication informationprotected abstract void populateAuthenticationProperties(AbstractConnection connection, ConnectionParameterBuffer pb) throws java.sql.SQLException
connection - Database connectionpb - Parameter buffer to populatejava.sql.SQLException - For errors generating authentication informationprotected void populateNonStandardProperties(D connection, DatabaseParameterBuffer dpb)
IConnectionProperties.getExtraDatabaseParameters()).connection - Database connectiondpb - Database parameter buffer to populatepublic final ServiceParameterBuffer toServiceParameterBuffer(S connection) throws java.sql.SQLException
ParameterConverterServiceParameterBuffer from the supplied {code IServiceProperties}.toServiceParameterBuffer in interface ParameterConverter<D extends AbstractConnection<IConnectionProperties,?>,S extends AbstractConnection<IServiceProperties,?>>connection - Service connectionjava.sql.SQLException - For errorsprotected void populateDefaultProperties(S connection, ServiceParameterBuffer spb) throws java.sql.SQLException
IConnectionProperties.connection - Service connectionspb - Service parameter buffer to populatejava.sql.SQLException - For errors generating authentication informationCopyright © 2001-2022 Jaybird (Firebird JDBC/JCA) team. All rights reserved.