• Post Reply Bookmark Topic Watch Topic
  • New Topic

Set Method for Oracle Database  RSS feed

 
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: 37395
531
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for posting the solution for others Ann!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!