skip to main content
IP API Reference for Java : Statement-level Methods for Java : sqlipError
 

sqlipError

This method returns the error during the last operation on this object. If one or more errors are available, it returns one error and clears the rest. After the error is returned, delete the error from the list of errors on the specified statement or connection. If no errors are available, then return empty strings to indicate no more errors are present.
int sqlipError(
StringBuffer sSqlState,
xo_int piNativeError,
StringBuffer sErrorText)
 
Table 84: Parameters for sqlipError
Parameter
Type
Description
INPUT
 
 
sSqlState
StringBuffer
SQL state returned by the error.
piNativeError
xo_int
Native error returned by the error.
sErrorText
StringBuffer
Error message.
RETURN
 
 
 
int
OADS_SUCCESS
OADS_NO_DATA
OADS_ERROR