Hi I have one oracle stored function as function is_required( id number, name varchar2 ) returns boolean is ..... ..... end is_required; How can I call this function from jdbc? I dont have equivalent dataype in jdbc. Please let me know if any equivalent datatype available in Oracle extension to JDBC data types Thanks in anticipation
PK G. Welcome to the Java Ranch, we hope you�ll enjoy visiting as a regular however, your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy. Thanks again and we hope to see you around the ranch!!
Thanks for changing your profile. And yes, it matters. Unfortunately, the new name you chose doesn't comply with the Naming Policy either. Please update your profile with a display name that contains a first and a last name separated by a space character. The first name can be an initial, but not the last name. If you have further questions regarding the JavaRanch policy, there is a forum for discussin JavaRanch issues here. thanks, bear
Pradeep I know that JDBC 2.0 also had the getBoolean function but it applied to bit fields not true boolean fields. I would check with either the driver vendor or the database vendor and see if they have any Oracle to Java equivalence. Sorry not much help.
When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad:
a bit of art, as a gift, that will fit in a stocking