Hi All,
Suppose I have a store proc which accepts 4 input parameters
and I do a CallableStatement.setObject( 1, "..,,," );
and execute the query .
It gives me that number of arguments need 4, but found only 1
(java.sql.SQLException:Incorrect number of arguments for PROCEDURE FHLMC.test1; expected 4, got 1)
during runtime. Should i set the other 3 input parameters to null,
even when I dont want to pass these parameters to the SP.
Thks