Class MySqlQuerier
java.lang.Object
org.conical.common.bbl.db.querier.Querier
org.conical.common.bbl.db.querier.MySqlQuerier
Implementation of Querier for MySQL databases.
- Author:
- rdoherty
-
Constructor Summary
ConstructorDescriptionMySqlQuerier
(DataSourceReference dbInfo) Creates a MySql-specific Querier using the passed data source -
Method Summary
Modifier and TypeMethodDescriptionprotected ColumnModel
protected PreparedStatement
getPsForColumnLookup
(Connection conn, String tableName) protected String
Methods inherited from class org.conical.common.bbl.db.querier.Querier
assignKeyInformation, getColumnsFromTable, getConnection, getTableNames
-
Constructor Details
-
MySqlQuerier
Creates a MySql-specific Querier using the passed data source- Parameters:
dbInfo
-
-
-
Method Details
-
getTableSelectionSql
- Specified by:
getTableSelectionSql
in classQuerier
-
getPsForColumnLookup
protected PreparedStatement getPsForColumnLookup(Connection conn, String tableName) throws SQLException - Specified by:
getPsForColumnLookup
in classQuerier
- Throws:
SQLException
-
getColumnModelFromResult
- Specified by:
getColumnModelFromResult
in classQuerier
- Throws:
SQLException
-