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 callablestatement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "callablestatement" Watch "callablestatement" New topic


aitex abex

Joined: Jun 02, 2006
Posts: 20
callablestatement.registerOutParameter(1, 12);
callablestatement.setString(2, s);
callablestatement.setString(3, s1);
callablestatement.setString(4, s2);
s3 = callablestatement.getString(1);

In the above code what callablestatement.registerOutParameter(1, 12);
do.I am not able to understand it if any body can explane pls send me solution.
Naseem Khan
Ranch Hand

Joined: Apr 25, 2005
Posts: 809
Callable Statement

Asking Smart Questions FAQ - How To Put Your Code In Code Tags
It is sorta covered in the JavaRanch Style Guide.
subject: callablestatement
It's not a secret anymore!