I'm trying to call a Stored Procedure from JDBC. The registration appears to initialize correctly, but then when I execute the CallableStatement I receive an error message
java.sql.SQLException: [Macromedia][Oracle JDBC Driver][Oracle]ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'GET_DOCUMENTS' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
I have gone over it several times, but don't see anything wrong. I have now manually entered values into my registrations to try and eliminate any possibilities of errors occuring due to there sometimes being null data. However, the problem still is occurring! Here is the code I'm using.
is the date columns(8,10 & 11) are of type string or date in the table.
this may be a reason.
we call the procedure like
im not sure whether begin and end can be there.
Karthikeyan<br />SCJP 1.4, SCWCD.
Joined: May 09, 2005
The dates are inputted as strings the stored procedure is like this.
The begin and end are definately there. That is the Oracle PL/SQL way of building a callable statement. I am using that instead of the SQL92 escape syntax because I was having some minor issues with the SQL92 syntax working with Oracle 9.
Joined: Apr 16, 2003
is the case of your procedure same as the one in DB??
you have given all of them in uppercase. just check that..