if (arg.getResultType() == null || !isCursorType(xrService, arg.getResultType())) {
// if the JDBC Type code is set on the argument, use it
if (arg.isJdbcTypeSet()) {
spCall.addNamedOutputArgument(arg.getName(), arg.getName(), arg.getJdbcType(), getTypeNameForJDBCType(arg.getJdbcType()));
} else {
spCall.addNamedOutputArgument(arg.getName());
}
}
}
} else {
if (spCall.isStoredFunctionCall() && isCursorType(xrService, resultType)) {