org.mule.module.db.internal.resolver.param
Class QueryParamTypeResolver
java.lang.Object
org.mule.module.db.internal.resolver.param.QueryParamTypeResolver
- All Implemented Interfaces:
- ParamTypeResolver
public class QueryParamTypeResolver
- extends Object
- implements ParamTypeResolver
Resolves parameter types for standard queries
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryParamTypeResolver
public QueryParamTypeResolver(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.