| java.lang.Object org.continuent.sequoia.controller.backend.DriverCompliance
DriverCompliance | public class DriverCompliance (Code) | | This class checks if a given driver provides the mandatory features necessary
for Sequoia.
author: Emmanuel Cecchet version: 1.0 |
DriverCompliance | public DriverCompliance(Trace logger)(Code) | | Builds a new DriverCompliance object.
Parameters: logger - the logger to use |
complianceTest | public boolean complianceTest(String backendUrl, String login, String password, String driverPath, String driverClassName, String connectionTestStatement) throws ConnectException(Code) | | Check the driver compliance.
Parameters: backendUrl - the JDBC URL to connect to Parameters: login - the user login Parameters: password - the user password Parameters: driverPath - path for driver Parameters: driverClassName - class name for driver Parameters: connectionTestStatement - SQL statement used to check if a connectionis still valid true if the driver is Sequoia compliant throws: ConnectException - if it is not possible to connect to the backend |
getDatabaseProductName | public String getDatabaseProductName()(Code) | | Returns the databaseProductName value.
Returns the databaseProductName. |
isCompliant | public boolean isCompliant()(Code) | | true if the driver is compliant to the Sequoia requirements |
supportGetColumnClassName | public boolean supportGetColumnClassName()(Code) | | true if the driver supports getColumnClassName |
supportGetColumnCount | public boolean supportGetColumnCount()(Code) | | true if the driver supports getColumnCount |
supportGetColumnDisplaySize | public boolean supportGetColumnDisplaySize()(Code) | | true if the driver supports getColumnDisplaySize |
supportGetColumnType | public boolean supportGetColumnType()(Code) | | true if the driver supports getColumnType |
supportGetColumnTypeName | public boolean supportGetColumnTypeName()(Code) | | true if the driver supports getColumnTypeName |
supportGetGeneratedKeys | public boolean supportGetGeneratedKeys()(Code) | | true if the driver supports getGeneratedKeys |
supportGetTableName | public boolean supportGetTableName()(Code) | | true if the driver supports getTableName |
supportSerializableIsolation | final public boolean supportSerializableIsolation()(Code) | | Returns the supportSerializableIsolation value.
Returns the supportSerializableIsolation. |
supportSetCursorName | public boolean supportSetCursorName()(Code) | | Returns the supportSetCursorName value.
Returns the supportSetCursorName. |
supportSetFetchSize | public boolean supportSetFetchSize()(Code) | | Returns the supportSetFetchSize value.
Returns the supportSetFetchSize. |
supportSetMaxRows | public boolean supportSetMaxRows()(Code) | | true if the driver supports Statement.setMaxRows |
supportSetQueryTimeout | public boolean supportSetQueryTimeout()(Code) | | true if the driver supports setQueryTimeout |
|
|