public class StoredProcedureParamTypeResolver extends Object implements ParamTypeResolver
Modifier and Type | Field and Description |
---|---|
static int |
PARAM_NAME_COLUN_INDEX |
static int |
TYPE_ID_COLUMN_INDEX |
static int |
TYPE_NAME_COLUMN_INDEX |
Constructor and Description |
---|
StoredProcedureParamTypeResolver(DbTypeManager dbTypeManager) |
Modifier and Type | Method and Description |
---|---|
Map<Integer,DbType> |
getParameterTypes(DbConnection connection,
QueryTemplate queryTemplate)
Resolves actual parameter types
|
public static final int PARAM_NAME_COLUN_INDEX
public static final int TYPE_ID_COLUMN_INDEX
public static final int TYPE_NAME_COLUMN_INDEX
public StoredProcedureParamTypeResolver(DbTypeManager dbTypeManager)
public Map<Integer,DbType> getParameterTypes(DbConnection connection, QueryTemplate queryTemplate) throws SQLException
ParamTypeResolver
getParameterTypes
in interface ParamTypeResolver
connection
- database connection to resolve against toqueryTemplate
- query template containing UNKNOWN parameter typesSQLException
- if this method is invoked on a closed connectionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.