The first value returned is an integer return code, below is some code from my
servlet to show you what it looks like:
int iRetVal;
...
CallableStatement pbcstmt = con.prepareCall("{?=call AddRecords(?,?) }" );
pbcstmt.registerOutParameter(1, java.sql.Types.INTEGER);
...
pbcstmt.execute();
iRetVal=pbcstmt.getInt(1);
if(iRetVal == 0)
{
//success
}
else
{
//failure
}
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html