wood burning stoves
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


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
 
Have you checked out Aspose?
 
subject: callablestatement
 
It's not a secret anymore!