org.mule.module.db.internal.resolver.param
Class StoredProcedureParamTypeResolver
java.lang.Object
org.mule.module.db.internal.resolver.param.StoredProcedureParamTypeResolver
- All Implemented Interfaces:
- ParamTypeResolver
public class StoredProcedureParamTypeResolver
- extends Object
- implements ParamTypeResolver
Resolves parameter types for stored procedure queries
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_NAME_COLUN_INDEX
public static final int PARAM_NAME_COLUN_INDEX
- See Also:
- Constant Field Values
TYPE_ID_COLUMN_INDEX
public static final int TYPE_ID_COLUMN_INDEX
- See Also:
- Constant Field Values
TYPE_NAME_COLUMN_INDEX
public static final int TYPE_NAME_COLUMN_INDEX
- See Also:
- Constant Field Values
StoredProcedureParamTypeResolver
public StoredProcedureParamTypeResolver(DbTypeManager dbTypeManager)
getParameterTypes
public Map<Integer,DbType> getParameterTypes(DbConnection connection,
QueryTemplate queryTemplate)
throws SQLException
- Description copied from interface:
ParamTypeResolver
- Resolves actual parameter types
- Specified by:
getParameterTypes in interface ParamTypeResolver
- Parameters:
connection - database connection to resolve against toqueryTemplate - query template containing UNKNOWN parameter types
- Returns:
- a map containing the actual type for each parameter index
- Throws:
SQLException - if this method is invoked on a closed connection
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.