public class MssqlAdapter extends AbstractRDBMSAdapter
AbstractRDBMSAdapter.FullyQualifiedName, AbstractRDBMSAdapter.NotSupportedException, AbstractRDBMSAdapter.Procedure| Constructor and Description |
|---|
MssqlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSQLSyntax(Connection con,
String sql,
List<Argument> params) |
protected Class |
getColumnType(int DATA_TYPE,
String TYPE_NAME,
int NULLABLE)
Maps the SQL Column type to java class.
|
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
|
List<AbstractRDBMSAdapter.Procedure> |
getStoredProcedures(Connection con,
String catalog,
String schema,
String prefix) |
getAdapterByDbUri, getSchemas, getSchemas, getStoredProcedureParameters, getStoredProcedureParameters, getStoredProcedures, getTableColumns, getTableColumns, getTables, getTables, tryToLoadDriverpublic List<AbstractRDBMSAdapter.Procedure> getStoredProcedures(Connection con, String catalog, String schema, String prefix) throws SQLException, AbstractRDBMSAdapter.NotSupportedException
getStoredProcedures in class AbstractRDBMSAdapterSQLExceptionAbstractRDBMSAdapter.NotSupportedExceptionprotected Class getColumnType(int DATA_TYPE, String TYPE_NAME, int NULLABLE)
AbstractRDBMSAdaptergetColumnType in class AbstractRDBMSAdapterDATA_TYPE - the datatype from the metadataTYPE_NAME - the type name from the metadataNULLABLE - the nullable column from the metadatapublic List<Argument> getSqlQueryType(Connection con, String sql, List<Argument> params) throws SQLException
AbstractRDBMSAdaptergetSqlQueryType in class AbstractRDBMSAdaptercon - the database connectionsql - the sql queryparams - a list of parameters used in this querySQLException - if the query is wrongpublic void checkSQLSyntax(Connection con, String sql, List<Argument> params) throws SQLException
checkSQLSyntax in class AbstractRDBMSAdapterSQLExceptionCopyright © 2019. All rights reserved.