aspose file tools*
The moose likes JDBC and the fly likes Callable Statements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Callable Statements" Watch "Callable Statements" New topic
Author

Callable Statements

Sumeet Anand
Greenhorn

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.
Sumeet.
vishwas bansal
Greenhorn

Joined: Dec 19, 2002
Posts: 6
its sum of input and output params.
 
Don't get me started about those stupid light bulbs.
 
subject: Callable Statements