public class UnknownRDBMSAdapter extends AbstractRDBMSAdapter
AbstractRDBMSAdapter.FullyQualifiedName, AbstractRDBMSAdapter.NotSupportedException, AbstractRDBMSAdapter.Procedure| Constructor and Description |
|---|
UnknownRDBMSAdapter(String customDriverClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSQLSyntax(Connection con,
String sql,
List<Argument> params) |
List<Argument> |
getSqlQueryType(Connection con,
String sql,
List<Argument> params)
Let's the db analyze an SQL query and throws an exception or returns a
map containing the names and types of the resulting rows
|
getAdapterByDbUri, getColumnType, getSchemas, getSchemas, getStoredProcedureParameters, getStoredProcedureParameters, getStoredProcedures, getStoredProcedures, getTableColumns, getTableColumns, getTables, getTables, tryToLoadDriverpublic UnknownRDBMSAdapter(String customDriverClass) throws DbConfig.ConfigException
DbConfig.ConfigExceptionpublic List<Argument> getSqlQueryType(Connection con, String sql, List<Argument> params) throws SQLException, AbstractRDBMSAdapter.NotSupportedException
AbstractRDBMSAdaptergetSqlQueryType in class AbstractRDBMSAdaptercon - the database connectionsql - the sql queryparams - a list of parameters used in this querySQLException - if the query is wrongAbstractRDBMSAdapter.NotSupportedException - if the corresponding adapter cannot check the query result typepublic void checkSQLSyntax(Connection con, String sql, List<Argument> params) throws SQLException, AbstractRDBMSAdapter.NotSupportedException
checkSQLSyntax in class AbstractRDBMSAdapterSQLExceptionAbstractRDBMSAdapter.NotSupportedExceptionCopyright © 2019. All rights reserved.