jQuery in Action, 2nd edition*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
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
I agree. Here's the link: http://aspose.com/file-tools
subject: callablestatement
Similar Threads
DataDirect Driver : Error " [DataDirect][SQLServer JDBC Driver]Invalid parameter binding(s)"
wrong number or types of arguments in call to 'P_RETRIEVE_OPPTY_ORDER_STATUS'
Using CallableStatement to access an Oracle Proc
Calling stored procedures
How to access Stored Procedure