The com.ibm.db2.jcc.DB2Sqlca class is an encapsulation of the SQLCA.
The following methods are defined only for the IBM® Data Server Driver for JDBC and SQLJ.
public abstract String getMessage()
Returns error message text.
public abstract int getSqlCode()
Returns an SQL error code value.
public abstract int[] getSqlErrd()
Returns an array, each element of which contains an SQLCA SQLERRD.
public abstract String getSqlErrmc()
Returns a string that contains the SQLCA SQLERRMC values, delimited with spaces.
public abstract String[] getSqlErrmcTokens()
Returns an array, each element of which contains an SQLCA SQLERRMC token.
public abstract String getSqlErrp()
Returns the SQLCA SQLERRP value.
public abstract String getSqlState()
Returns the SQLCA SQLSTATE value.
public abstract char[] getSqlWarn()
Returns an array, each element of which contains an SQLCA SQLWARN value.