Table 90. Error codes issued by the IBM Data Server Driver for JDBC and SQLJ (continued)
Error
Code Message text and explanation SQLSTATE
-4497 The application must issue a rollback. The unit of work has
already been rolled back in the DB2 server, but other resource
managers involved in the unit of work might not have rolled
back their changes. To ensure integrity of the application, all
SQL requests are rejected until the application issues a
rollback.
-4498 A connection failed but has been reestablished. Host name or
IP address: host-name, service name or port number: port,
special register modification indicator: rc.
Explanation: host-name and port indicate the data source at
which the connection is reestablished. rc indicates whether
SQL statements that set special register values were executed
again:
1 SQL statements that set special register values were
executed again.
2 SQL statements that set special register values might
not have been executed again.
For client reroute against DB2 for z/OS servers, special
register values that were set after the last commit point are
not re-established.
The application is rolled back to the previous commit point.
The connection state and global resources such as global
temporary tables and open held cursors might not be
maintained.
-4499 text-from-getMessage
Explanation: A fatal error occurred that resulted in a
disconnect from the data source. The existing connection has
become unusable.
User response: Call SQLException.getMessage to retrieve
specific information about the problem.
08001 or 58009
-30108 Client reroute exception for the Sysplex. 08506
-99999 The IBM Data Server Driver for JDBC and SQLJ issued an
error that does not yet have an error code.
Related tasks
“Handling an SQLException under the IBM Data Server Driver for JDBC and
SQLJ” on page 77
“Handling SQL errors in an SQLJ application” on page 154
SQLSTATEs issued by the IBM Data Server Driver for JDBC and SQLJ
SQLSTATEs in the range 46600 to 466ZZ are reserved for the IBM Data Server
Driver for JDBC and SQLJ.
The following table lists the SQLSTATEs that are generated or used by the IBM
Data Server Driver for JDBC and SQLJ.
388 Application Programming Guide and Reference for Java
™
|
|
|
|