File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes callablestatement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "callablestatement" Watch "callablestatement" New topic
Author

callablestatement

aitex abex
Greenhorn

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

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: callablestatement