• Post Reply Bookmark Topic Watch Topic
  • New Topic

Cursor doubt in callable statement...

 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In the below statement..

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

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...

REgards
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure that it will work but you can try with Types.Other

Thanks,
Shailesh
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!