getParameterTypes
public Map<Integer,DbType> getParameterTypes(DbConnection connection,
QueryTemplate queryTemplate,
List<ParameterType> parameterTypesConfigured)
throws SQLException
Resolves actual parameter types
- Specified by:
getParameterTypes in interface ParamTypeResolver
- Parameters:
connection - database connection to resolve against to
queryTemplate - query template containing UNKNOWN parameter types
parameterTypesConfigured - the parameter types bounded to the performing query
- Returns:
- a map containing the actual type for each parameter index
- Throws:
SQLException - if this method is invoked on a closed connection