• Post Reply Bookmark Topic Watch Topic
  • New Topic

Set Method for Oracle Database

 
Ann Sebastian
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



This Code breaks at line 1 and throws an error unsupported feature
But if do stmt.setInt(21);//LINE 1
It works fine
Why is this happening
 
Ann Sebastian
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GOT IT
This line was the culprit
stmt = (CallableStatement)c.prepareCall("Begin ? := fnSaveTestClob(?,?); End;");
Type casted it to CallableStatement and it worked fine
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36007
422
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for posting the solution for others Ann!
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!