I have a pl/sql procedure on an Oracle 11g that has the following parameters:
PROCEDURE validate_product
( product_id_in IN varchar2 ,
username_in in va
I suspect the out statements might need modification to the following (since the type of the out parameters is varchar2 in the procedure):-
cstmt.registerOutParameter(6, Types.VARCHAR);
cstmt.registerOutParameter(7, Types.VARCHAR);
However, if that does not work, then try modifying the prepareCall statement to the following also :-
cstmt = getConnection().prepareCall("{call " + DBUtil.SCHEMANAME + ".PRODUCT_UTILITIES.validate_product(?,?,?,?,?,?,?)}");