SQLState messages reported by JDBC


ǥ 28. SQLState messages reported by JDBC

SQLSTATE Description Explanation
0100C One or more adhoc result sets were returned. DB2 Everyplace does not support ResultSet.CONCUR_UPDATABLE for the concurrency mode of a ResultSet object. ResultSet.CONCUR_READ_ONLY is used instead.
0641E There is a SELECT statement in the batch. A SELECT statement is not allowed in the batch.
0643E There is no statement in the batch. The batch does not have any statement.
22005 Error in assignment. A parameter type is incompatible with the target data type.
22011 A substring error occurred. Invalid ordinal position for the first byte in the BLOB value to be extracted.
S1010 Function sequence error. CallableStatement get method is called without first calling registerOutParameter.

Related reference