1.1.1

Table Of Contents
Chapter 58
Exception Messages and SQL States
The JDBC driver returns SQLExceptions for all errors from SQLFire. If the exception originated in a user type but is
not itself an SQLException, it is wrapped in an SQLException. SQLFire-specic SQLExceptions use SQLState class
codes starting with X. Standard SQLState values are returned for exceptions where appropriate.
Unimplemented aspects of the JDBC driver return a SQLException with a SQLState starting with 0A. If your application
runs on JDK 1.6 or higher, then the exception class is java.sql.SQLFeatureNotSupportedException. These unimplemented
parts are for features not supported by SQLFire.
SQLFire supplies values for the message and SQLState elds. In addition, SQLFire sometimes returns multiple
SQLExceptions using the nextException chain. The rst exception is always the most severe exception, with SQL-92
Standard exceptions preceding those that are specic to SQLFire.
See the Apache Derby Reference Manual for details about all SQL error messages and exceptions.
In addition to the error messages provided with Apache Derby, SQLFire uses the following additional error states and
messages.
Table 36: Class 01: Additional Warning
Message textSQLState
updatable resultset supported only in read committed and repeatable read
transaction isolation levels
01J09
Table 37: Class 0A: Feature not supported
Message textSQLState
The query cannot be executed as the partitioned table 'table-name' is not
having any colocation dened, and this version of SQLFire does not
support joins/subqueries on non-colocated tables.
0A000
The query cannot be executed as the table table-name is not colocated
with table-name, and this version of SQLFire does not support
joins/subqueries on non-colocated tables.
0A000
The query cannot be executed as it does not have all the required
colocation equijoin conditions, and this version of SQLFire does not
support joins/subqueries on non-colocated table columns.
0A000
The query cannot be executed as it does not have all the required
colocation equijoin conditions, and this version of SQLFire does not
support joins/subqueries on non-colocated table columns.
0A000
681