Unanswered: Function sequence error when passing CLOB to DB2 Proc
I have a stored proc that takes a CLOB is an input parameter. When I try to call that proc via JDBC, I get a "Function sequence error". I've tried setting the autoCommit to false as well as a number of other things with no success.
while (l_oStmt.getMoreResults() || (l_oStmt.getUpdateCount() != -1) );
l_iReturnCode = l_oStmt.getInt(1);
Another thing that's really throwing me for a loop is that if I add "println"s between every statement, the code seems to choke after the "executeUpdate" (Note: I took out the while and l_iReturnCode statements after the executeUpdate and it still failed after the executeUpdate)