Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

prepareCall

 
Arun Boraiah
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having stored procedure which return two output parameter (one int and one string). I have query for prepareCall as follows "{ ?,? = call sp_test }" where this sp don't take any input parameter.
An exception i thrown "
An escape sequence in a SQL Query was malformed: '{ ?, ? = call sp_test }'. "
I have a doubt that my query for prepare call is not correct. Any inputs for my doubt?
Thanks in advance.
Regards
Arun
 
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!