g***@alum.mit.edu
2005-05-06 20:50:13 UTC
Hi all,
I have a stored (PL/SQL) procedure in Oracle as follows:
SQL> describe approvedb;
PROCEDURE approvedb
Argument Name Type In/Out Default?
----------------------- ----------------------- ------ --------
DBRID NUMBER(10) IN
SWITCHTOPENDAPPROVAL BOOLEAN IN
So I can do
SQL> execute approvedb(33,true);
fine. But when I try to execute PreparedStatement via JDBC,
it gives me "wrong number or types of arguments in call" --
it doesn't like the Boolean object. What's going on?
I have a stored (PL/SQL) procedure in Oracle as follows:
SQL> describe approvedb;
PROCEDURE approvedb
Argument Name Type In/Out Default?
----------------------- ----------------------- ------ --------
DBRID NUMBER(10) IN
SWITCHTOPENDAPPROVAL BOOLEAN IN
So I can do
SQL> execute approvedb(33,true);
fine. But when I try to execute PreparedStatement via JDBC,
it gives me "wrong number or types of arguments in call" --
it doesn't like the Boolean object. What's going on?