IBM DB2 Manual page 405

Table of Contents

Advertisement

Table 91. SQLSTATEs returned by the IBM Data Server Driver for JDBC and SQLJ
SQLSTATE
class
SQLSTATE
01xxx
02xxx
02501
02506
08xxx
08003
08004
08506
0Axxx
0A502
0A504
22xxx
22007
22021
23xxx
23502
24xxx
24501
28xxx
28000
2Dxxx
2D521
34xxx
34000
3Bxxx
3B503
40xxx
42xxx
42601
42734
42807
42808
Description
Warning
No data
The cursor position is not valid for a FETCH of the current
row.
Tolerable error
Connection exception
A connection does not exist
The application server rejected establishment of the
connection
Client reroute exception
Feature not supported
The action or operation is not enabled for this database
instance
The feature is not supported by the driver
Data exception
The string representation of a datetime value is invalid
A character is not in the coded character set
Constraint violation
A value that is inserted into a column or updates a column is
null, but the column cannot contain null values.
Invalid cursor state
The identified cursor is not open
Authorization exception
Authorization name is invalid.
Invalid transaction termination
SQL COMMIT or ROLLBACK are invalid in the current
operating environment.
Invalid cursor name
Cursor name is invalid.
Invalid savepoint
A SAVEPOINT, RELEASE SAVEPOINT, or ROLLBACK TO
SAVEPOINT statement is not allowed in a trigger or global
transaction.
Transaction rollback
Syntax error or access rule violation
A character, token, or clause is invalid or missing
A duplicate parameter name, SQL variable name, cursor
name, condition name, or label was detected.
The INSERT, UPDATE, or DELETE is not permitted on this
object
A column identified in the insert or update operation is not
updateable
Chapter 7. JDBC and SQLJ reference information
389

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents