Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

get boolean value returned from PL/SQL function using CallableStatement?

843854Mar 20 2002 — edited Apr 3 2002
All,

I want to call a PL/SQL function that returns a boolean type, does anyone know how I can do this using a CallableStatement?

The only thing I saw in the CallableStatement was to register an out parameter of type java.sql.Type.BIT and then use the getBoolean method. But, this requires that a bit is returned from the function, not a boolean.

Thanks,
Derek
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2002
Added on Mar 20 2002
5 comments
1,342 views