jQuery in Action, 2nd edition*
The moose likes JDBC and the fly likes Cursor doubt in callable statement... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Cursor doubt in callable statement..." Watch "Cursor doubt in callable statement..." New topic

Cursor doubt in callable statement...

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979

In the below statement..

CallableStatement cst=conn.prepareCall("{ call MY_TEST_PROC(?,?,?) }");

I have to use....OracleTypes.CURSOR ...but for this...I have to use...

oracle driver.Is there any alternative to this that would make the code...not tie to oracle...

Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1081

I am not sure that it will work but you can try with Types.Other


Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
I agree. Here's the link: http://aspose.com/file-tools
subject: Cursor doubt in callable statement...
Similar Threads
Weblogic Connection Pool and Oracle OCI Drivers
Returning CURSOR from ORACLE
Stored Procedure Problem
What am i doing wrong here? ( Stored Procedure REF CURSOR Problem)
output parameter returned by the stored procedure