Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Callable Statements

 
Sumeet Anand
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am using callable statements to execute stored procs.But I have a doubt.Suppose we call a stored proc as :
CallableStatement cstmt = con.prepareCall( "{ call sp_C( ? ? ? ) }" );
Now whether the question mark placeholders are the total parameters(sum of input and output parameters)or just the output parameters.
Please clarify.
Thanks in advance.
Sumeet.
 
vishwas bansal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its sum of input and output params.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic