This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

prepareCall  RSS feed

 
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!