File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Callable Statements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Callable Statements" Watch "Callable Statements" New topic

Callable Statements

Sumeet Anand

Joined: Nov 16, 2002
Posts: 16
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.
vishwas bansal

Joined: Dec 19, 2002
Posts: 6
its sum of input and output params.
I agree. Here's the link:
subject: Callable Statements
It's not a secret anymore!