jdbcType = TInstance.tClass(type).jdbcType();
}
else if (sqlType != null) {
jdbcType = sqlType.getJDBCTypeId();
}
jdbcParams.add(new ParameterType(sqlType, jdbcType, type));
}
parameterMetaData = new JDBCParameterMetaData(getTypesTranslator(), jdbcParams);
if (getParameterNames) {
// TODO: Only case through here will be ? = CALL fun(?,?,...),
// which will look like SELECT fun(...).