The following tables list SQLStates for exceptions. Exceptions that begin with an X are specific to .
Class 01: WarningSQLSTATEMessage Text01001An attempt to update or delete an already deleted row was made: No row was updated or deleted.01003Null values were eliminated from the argument of a column function.01006Privilege not revoked from user <authorizationID>.0100EXX Attempt to return too many result sets. 01500The constraint <constraintName> on table <tableName> has been dropped.01501The view <viewName> has been dropped.01502The trigger <triggerName> on table <tableName> has been dropped.01503The column <columnName> on table <tableName> has been modified by adding a not null constraint.01504The new index is a duplicate of an existing index: <indexName>.01505The value <valueName> may be truncated.01522The newly defined synonym '<synonymName>' resolved to the object '<objectName>' which is currently undefined.01J01Database '<databaseName>' not created, connection made to existing database instead.01J02Scroll sensitive cursors are not currently implemented.01J04The class '<className>' for column '<columnName>' does not implement java.io.Serializable or java.sql.SQLData. Instances must implement one of these interfaces to allow them to be stored.01J05Database upgrade succeeded. The upgraded database is now ready for use. Revalidating stored prepared statements failed. See next exception for details of failure.01J06ResultSet not updatable. Query does not qualify to generate an updatable ResultSet.01J07ResultSetHoldability restricted to ResultSet.CLOSE_CURSORS_AT_COMMIT for a global transaction.01J08Unable to open resultSet type <resultSetType>. ResultSet type <resultSetType> opened.01J10Scroll sensitive result sets are not supported by server; remapping to forward-only cursor01J12Unable to obtain message text from server. See the next exception. The stored procedure SYSIBM.SQLCAMESSAGE is not installed on the server. Please contact your database administrator.01J13Number of rows returned (<number>) is too large to fit in an integer; the value returned will be truncated.01J14SQL authorization is being used without first enabling authentication.
Class 07: Dynamic SQL ErrorSQLSTATEMessage Text07000At least one parameter to the current statement is uninitialized.07004Parameter <parameterName> is an <procedureName> procedure parameter and must be registered with CallableStatement.registerOutParameter before execution.07009No input parameters.
Class 08: Connection ExceptionSQLSTATEMessage Text08000Connection closed by unknown interrupt.08000Cannot close a connection with an active transaction. The transaction remains open and the connection was not closed.08001A connection could not be established because the security token is larger than the maximum allowed by the network protocol.08001A connection could not be established because the user id has a length of zero or is larger than the maximum allowed by the network protocol.08001A connection could not be established because the password has a length of zero or is larger than the maximum allowed by the network protocol.08001Required Derby DataSource property <propertyName> not set.08001<error> : Error connecting to server <serverName> on port <portNumber> with message <messageText>.08001SocketException: '<error>'08001Unable to open stream on socket: '<error>'.08001User id length (<number>) is outside the range of 1 to <number>.08001Password length (<value>) is outside the range of 1 to <number>.08001User id can not be null.08001Password can not be null.08001A connection could not be established because the database name '<databaseName>' is larger than the maximum length allowed by the network protocol.08003No current connection.08003getConnection() is not valid on a closed PooledConnection.08003Lob method called after connection was closed08003The underlying physical connection is stale or closed.08004Connection refused : <connectionName>08004Connection authentication failure occurred. Reason: <reasonText>.08004The connection was refused because the database <databaseName> was not found.08004Database connection refused.08004User '<authorizationID>' cannot shut down database '<databaseName>'. Only the database owner can perform this operation.08004User '<authorizationID>' cannot (re)encrypt database '<databaseName>'. Only the database owner can perform this operation.08004User '<authorizationID>' cannot hard upgrade database '<databaseName>'. Only the database owner can perform this operation.08004Connection refused to database '<databaseName>' because it is in replication slave mode.08006A network protocol error was encountered and the connection has been terminated: <error>08006An error occurred during connect reset and the connection has been terminated. See chained exceptions for details.08006 SocketException: '<error>'08006A communications error has been detected: <error>.08006An error occurred during a deferred connect reset and the connection has been terminated. See chained exceptions for details.08006Insufficient data while reading from the network - expected a minimum of <number> bytes and received only <number> bytes. The connection has been terminated.08006Attempt to fully materialize lob data that is too large for the JVM. The connection has been terminated.08006Database '<databaseName>' shutdown.
Class 0A: Feature not supportedSQLSTATEMessage Text0A000Feature not implemented: <featureName>.0A000The DRDA command <commandName> is not currently implemented. The connection has been terminated.0A000JDBC method is not yet implemented.0A000JDBC method <methodName> is not supported by the server. Please upgrade the server.0A000resultSetHoldability property <propertyName> not supported0A000cancel() not supported by the server.0A000Security mechanism '<mechanismName>' is not supported.0A000The data type '<datatypeName>' is not supported.
Class 21: Cardinality ViolationSQLSTATEMessage Text21000Scalar subquery is only allowed to return a single row.
Class 22: Data ExceptionSQLSTATEMessage Text22001A truncation error was encountered trying to shrink <value> '<value>' to length <value>.22003The resulting value is outside the range for the data type <datatypeName>.22003Year (<value>) exceeds the maximum '<value>'.22003Decimal may only be up to 31 digits.22003Overflow occurred during numeric data type conversion of '<datatypeName>' to <datatypeName>.22004The length (<number>) exceeds the maximum length for the data type (<datatypeName>).22005Unable to convert a value of type '<typeName>' to type '<typeName>' : the encoding is not supported.22005The required character converter is not available.22005Unicode string cannot convert to Ebcdic string22005Unrecognized JDBC type. Type: <typeName>, columnCount: <value>, columnIndex: <value>.22005Invalid JDBC type for parameter <parameterName>.22005Unrecognized Java SQL type <datatypeName>.22005An attempt was made to get a data value of type '<datatypeName>' from a data value of type '<datatypeName>'.22007The string representation of a datetime value is out of range.22007The syntax of the string representation of a datetime value is incorrect.22008'<argument>' is an invalid argument to the <functionName> function.2200LValues assigned to XML columns must be well-formed DOCUMENT nodes.2200MInvalid XML DOCUMENT: <parserError>2200VInvalid context item for <operatorName> operator; context items must be well-formed DOCUMENT nodes.2200WXQuery serialization error: Attempted to serialize one or more top-level Attribute nodes.22011The second or third argument of the SUBSTR function is out of range.22012Attempt to divide by zero.22013Attempt to take the square root of a negative number, '<value>'.22014The start position for LOCATE is invalid; it must be a positive integer. The index to start the search from is '<fromString>'. The string to search for is '<startIndex>'. The string to search from is '<searchString>'. 22015 Invalid data conversion: requested conversion would result in a loss of precision of <value>22015The '<functionName>' function is not allowed on the following set of types. First operand is of type '<typeName>'. Second operand is of type '<typeName>'. Third operand (start position) is of type '<typeName>'.22018Invalid character string format for type <typeName>.22019Invalid escape sequence, '<sequenceName>'. The escape string must be exactly one character. It cannot be a null or more than one character.22020Invalid trim string, '<string>'. The trim string must be exactly one character or NULL. It cannot be more than one character.22025Escape character must be followed by escape character, '_', or '%'. It cannot be followed by any other character or be at the end of the pattern.22027The built-in TRIM() function only supports a single trim character. The LTRIM() and RTRIM() built-in functions support multiple trim characters.22028The string exceeds the maximum length of <number>.22501An ESCAPE clause of NULL returns undefined results and is not allowed.
Class 23: Constraint Violation SQLSTATEMessage Text23502Column '<columnName>' cannot accept a NULL value.23503<constraintName> on table '<tableName>' caused a violation of foreign key constraint '<value>' for key <keyName>. The statement has been rolled back.23505The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by '<value>' defined on '<value>'.23513The check constraint '<tableName>' was violated while performing an INSERT or UPDATE on table '<constraintName>'.
Class 24: Invalid Cursor StateSQLSTATEMessage Text24000Invalid cursor state - no current row.24501The identified cursor is not open.
Class 25: Invalid Transaction StateSQLSTATEMessage Text25000Invalid transaction state.25001Cannot close a connection while a transaction is still active.25501Unable to set the connection read-only property in an active transaction.25502An SQL data change is not permitted for a read-only connection, user or database.25503DDL is not permitted for a read-only connection, user or database.25505A read-only user or a user in a read-only database is not permitted to disable read-only mode on a connection.
Class 28: Invalid Authorization SpecificationSQLSTATEMessage Text28502The user name '<authorizationID>' is not valid.
Class 2D: Invalid Transaction TerminationSQLSTATEMessage Text2D521setAutoCommit(true) invalid during global transaction.2D521COMMIT or ROLLBACK invalid for application execution environment.
Class 38: External Function ExceptionSQLSTATEMessage Text38000The exception '<exception>' was thrown while evaluating an expression.38001The external routine is not allowed to execute SQL statements.38002The routine attempted to modify data, but the routine was not defined as MODIFIES SQL DATA.38004The routine attempted to read data, but the routine was not defined as READS SQL DATA.
Class 39: External Routine Invocation ExceptionSQLSTATEMessage Text39004A NULL value cannot be passed to a method which takes a parameter of primitive type '<type>'.
Class 3B: Invalid SAVEPOINTSQLSTATEMessage Text3B001SAVEPOINT, <savepointName> does not exist or is not active in the current transaction.3B002The maximum number of savepoints has been reached. 3B501A SAVEPOINT with the passed name already exists in the current transaction.3B502A RELEASE or ROLLBACK TO SAVEPOINT was specified, but the savepoint does not exist.
Class 40: Transaction RollbackSQLSTATEMessage Text40001A lock could not be obtained due to a deadlock, cycle of locks and waiters is:
<lockCycle>. The selected victim is XID : <transactionID>.40XC0Dead statement. This may be caused by catching a transaction severity error inside this statement.40XD0Container has been closed.40XD1Container was opened in read-only mode.40XD2Container <containerName> cannot be opened; it either has been dropped or does not exist.40XL1A lock could not be obtained within the time requested40XL2A lock could not be obtained within the time requested. The lockTable dump is: <tableDump>40XT0An internal error was identified by RawStore module.40XT1An exception was thrown during transaction commit.40XT2An exception was thrown during rollback of a SAVEPOINT.40XT4An attempt was made to close a transaction that was still active. The transaction has been aborted.40XT5Exception thrown during an internal transaction.40XT6Database is in quiescent state, cannot activate transaction. Please wait for a moment till it exits the quiescent state.40XT7Operation is not supported in an internal transaction.
Class 42: Syntax Error or Access Rule ViolationSQLSTATEMessage Text42000Syntax error or access rule violation; see additional errors for details.42500User '<authorizationID>' does not have <permissionType> permission on table '<schemaNamet>'.'<tableName>'.42501User '<authorizationID>' does not have <permissionType> permission on table '<schemaNamet>'.'<tableName>' for grant.42502User '<authorizationID>' does not have <permissionType> permission on column '<columnName>' of table '<schemaName>'.'<tableName>'.42503User '<authorizationID>' does not have <permissionType> permission on column '<columnName>' of table '<schemaName>'.'<tableName>' for grant.42504User '<authorizationID>' does not have execute permission on <objectName> '<schemaName>'.'<tableName>'.42505User '<authorizationID>' does not have execute permission on <objectName> '<schemaName>'.'<tableName>' for grant.42506User '<authorizationID>' is not the owner of <objectName> '<schemaName>'.'<tableName>'.42507User '<authorizationID>' can not perform the operation in schema '<schemaName>'.42508User '<authorizationID>' can not create schema '<schemaName>'. Only database owner could issue this statement.42509Specified grant or revoke operation is not allowed on object '<objectName>'.4250AUser '<authorizationID>' does not have <permissionName> permission on object '<schemaName>'.'<objectName>'.4250BInvalid database authorization property '<value>=<value>'.4250CUser(s) '<authorizationID>' must not be in both read-only and full-access authorization lists.4250DRepeated user(s) '<listName>' in access list '<authorizationID>';4250EInternal Error: invalid <authorizationID> id in statement permission list.42601In an ALTER TABLE statement, the column '<columnName>' has been specified as NOT NULL and either the DEFAULT clause was not specified or was specified as DEFAULT NULL.42601ALTER TABLE statement cannot add an IDENTITY column to a table.42605The number of arguments for function '<functionName>' is incorrect.42606An invalid hexadecimal constant starting with '<number>' has been detected.42610All the arguments to the COALESCE/VALUE function cannot be parameters. The function needs at least one argument that is not a parameter.42611The length, precision, or scale attribute for column, or type mapping '<value>' is not valid. 42613Multiple or conflicting keywords involving the '<clause>' clause are present.42621A check constraint or generated column that is defined with '<value>' is invalid.42622The name '<name>' is too long. The maximum length is '<number>'.42734Name '<name>' specified in context '<context>' is not unique.42802The number of values assigned is not the same as the number of specified or implied columns.42803An expression containing the column '<columnName>' appears in the SELECT list and is not part of a GROUP BY clause.42815The replacement value for '<value>' is invalid.42815The data type, length or value of arguments '<value>' and '<value>' is incompatible.42818Comparisons between '<type>' and '<type>' are not supported. Types must be comparable. String types must also have matching collation. If collation does not match, a possible solution is to cast operands to force them to the default collation (e.g. select tablename from sys.systables where CAST(tablename as VARCHAR(128)) = 'T1')42820The floating point literal '<string>' contains more than 30 characters.42821Columns of type '<type>' cannot hold values of type '<type>'. 42824An operand of LIKE is not a string, or the first operand is not a column.42831'<columnName>' cannot be a column of a primary key or unique key because it can contain null values.42834SET NULL cannot be specified because FOREIGN KEY '<key>' cannot contain null values. 42837ALTER TABLE '<tableName>' specified attributes for column '<columnName>' that are not compatible with the existing column.42846Cannot convert types '<type>' to '<type>'.42877A qualified column name '<columnName>' is not allowed in the ORDER BY clause.42878The ORDER BY clause of a SELECT UNION statement only supports unqualified column references and column position numbers. Other expressions are not currently supported.42879The ORDER BY clause may not contain column '<columnName>', since the query specifies DISTINCT and that column does not appear in the query result.4287AThe ORDER BY clause may not specify an expression, since the query specifies DISTINCT.42884No authorized routine named '<routineName>' of type '<type>' having compatible arguments was found.42886'<value>' parameter '<value>' requires a parameter marker '?'.42894DEFAULT value or IDENTITY attribute value is not valid for column '<columnName>'.428C1Only one identity column is allowed in a table.428EKThe qualifier for a declared global temporary table name must be SESSION.42903Invalid use of an aggregate function.42908The CREATE VIEW statement does not include a column list.42909The CREATE TABLE statement does not include a column list.42915Foreign Key '<key>' is invalid because '<value>'. 42916Synonym '<synonym2>' cannot be created for '<synonym1>' as it would result in a circular synonym chain.42939An object cannot be created with the schema name '<schemaNamet>'.42962Long column type column or parameter '<columnName>' not permitted in declared global temporary tables or procedure definitions. 42972An ON clause associated with a JOIN operator is not valid.42995The requested function does not apply to global temporary tables.42X01Syntax error: <error>.42X02<value>.42X03Column name '<columnName>' is in more than one table in the FROM list.42X04Column '<columnName>' is either not in any table in the FROM list or appears within a join specification and is outside the scope of the join specification or appears in a HAVING clause and is not in the GROUP BY list. If this is a CREATE or ALTER TABLE statement then '<columnName>' is not a column in the target table.42X05Table/View '<objectName>' does not exist.42X06Too many result columns specified for table '<tableName>'.42X07Null is only allowed in a VALUES clause within an INSERT statement.42X08The constructor for class '<className>' cannot be used as an external virtual table because the class does not implement '<constructorName>'. 42X09The table or alias name '<tableName>' is used more than once in the FROM list.42X10'<tableName>' is not an exposed table name in the scope in which it appears.42X12Column name '<columnName>' appears more than once in the CREATE TABLE statement. 42X13Column name '<columnName>' appears more than once times in the column list of an INSERT statement. 42X14'<columnName>' is not a column in table or VTI '<value>'.42X15Column name '<columnName>' appears in a statement without a FROM list.42X16Column name '<columnName>' appears multiple times in the SET clause of an UPDATE statement.42X17In the Properties list of a FROM clause, the value '<value>' is not valid as a joinOrder specification. Only the values FIXED and UNFIXED are valid. 42X19The WHERE or HAVING clause or CHECK CONSTRAINT definition is a '<value>' expression. It must be a BOOLEAN expression.42X23Cursor <cursorName> is not updatable.42X24Column <columnName> is referenced in the HAVING clause but is not in the GROUP BY list.42X25The '<functionName>' function is not allowed on the '<1>' type.42X26The class '<className>' for column '<columnName>' does not exist or is inaccessible. This can happen if the class is not public.42X28Delete table '<tableName>' is not target of cursor '<cursorName>'.42X29Update table '<tableName>' is not the target of cursor '<cursorName>'.42X30Cursor '<cursorName>' not found. Verify that autocommit is OFF.42X31Column '<columnName>' is not in the FOR UPDATE list of cursor '<cursorName>'.42X32The number of columns in the derived column list must match the number of columns in table '<tableName>'.42X33The derived column list contains a duplicate column name '<columnName>'.42X34There is a ? parameter in the select list. This is not allowed.42X35It is not allowed for both operands of '<value>' to be ? parameters.42X36The '<operator>' operator is not allowed to take a ? parameter as an operand.42X37The unary '<operator>' operator is not allowed on the '<type>' type.42X38'SELECT *' only allowed in EXISTS and NOT EXISTS subqueries.42X39Subquery is only allowed to return a single column.42X40A NOT statement has an operand that is not boolean . The operand of NOT must evaluate to TRUE, FALSE, or UNKNOWN. 42X41In the Properties clause of a FROM list, the property '<propertyName>' is not valid (the property was being set to '<value>'). 42X42Correlation name not allowed for column '<columnName>' because it is part of the FOR UPDATE list.42X43The ResultSetMetaData returned for the class/object '<className>' was null. In order to use this class as an external virtual table, the ResultSetMetaData cannot be null. 42X44Invalid length '<number>' in column specification.42X45<type> is an invalid type for argument number <value> of <value>.42X46There are multiple functions named '<functionName>'. Use the full signature or the specific name.42X47There are multiple procedures named '<procedureName>'. Use the full signature or the specific name.42X48Value '<value>' is not a valid precision for <value>.42X49Value '<value>' is not a valid integer literal.42X50No method was found that matched the method call <methodName>.<value>(<value>), tried all combinations of object and primitive types and any possible type conversion for any parameters the method call may have. The method might exist but it is not public and/or static, or the parameter types are not method invocation convertible.42X51The class '<className>' does not exist or is inaccessible. This can happen if the class is not public.42X52Calling method ('<methodName>') using a receiver of the Java primitive type '<type>' is not allowed.42X53The LIKE predicate can only have 'CHAR' or 'VARCHAR' operands. Type '<type>' is not permitted.42X54The Java method '<methodName>' has a ? as a receiver. This is not allowed.42X55Table name '<value>' should be the same as '<tableName>'.42X56The number of columns in the view column list does not match the number of columns in the underlying query expression in the view definition for '<value>'.42X57The getColumnCount() for external virtual table '<tableName>' returned an invalid value '<value>'. Valid values are greater than or equal to 1. 42X58The number of columns on the left and right sides of the <tableName> must be the same.42X59The number of columns in each VALUES constructor must be the same.42X60Invalid value '<value>' for insertMode property specified for table '<tableName>'.42X61Types '<type>' and '<type>' are not <value> compatible.42X62'<value>' is not allowed in the '<schemaNamet>' schema.42X63The USING clause did not return any results. No parameters can be set. 42X64In the Properties list, the invalid value '<value>' was specified for the useStatistics property. The only valid values are TRUE or FALSE. 42X65Index '<index>' does not exist.42X66Column name '<columnName>' appears more than once in the CREATE INDEX statement.42X68No field '<fieldName>' was found belonging to class '<className>'. It may be that the field exists, but it is not public, or that the class does not exist or is not public.42X69It is not allowed to reference a field ('<fieldName>') using a referencing expression of the Java primitive type '<type>'.42X70The number of columns in the table column list does not match the number of columns in the underlying query expression in the table definition for '<value>'.42X71Invalid data type '<datatypeName>' for column '<columnName>'.42X72No static field '<fieldName>' was found belonging to class '<className>'. The field might exist, but it is not public and/or static, or the class does not exist or the class is not public. 42X73Method resolution for signature <value>.<value>(<value>) was ambiguous. (No single maximally specific method.)42X74Invalid CALL statement syntax.42X75No constructor was found with the signature <value>(<value>). It may be that the parameter types are not method invocation convertible.42X76At least one column, '<columnName>', in the primary key being added is nullable. All columns in a primary key must be non-nullable.42X77Column position '<columnPosition>' is out of range for the query expression.42X78Column '<columnName>' is not in the result of the query expression.42X79Column name '<columnName>' appears more than once in the result of the query expression.42X80VALUES clause must contain at least one element. Empty elements are not allowed. 42X82The USING clause returned more than one row. Only single-row ResultSets are permissible.42X83The constraints on column '<columnName>' require that it be both nullable and not nullable.42X84Index '<index>' was created to enforce constraint '<constraintName>'. It can only be dropped by dropping the constraint.42X85Constraint '<constraintName>'is required to be in the same schema as table '<tableName>'.42X86ALTER TABLE failed. There is no constraint '<constraintName>' on table '<tableName>'. 42X87At least one result expression (THEN or ELSE) of the '<expression>' expression must not be a '?'. 42X88A conditional has a non-Boolean operand. The operand of a conditional must evaluate to TRUE, FALSE, or UNKNOWN. 42X89Types '<type>' and '<type>' are not type compatible. Neither type is assignable to the other type. 42X90More than one primary key constraint specified for table '<tableName>'.42X91Constraint name '<constraintName>' appears more than once in the CREATE TABLE statement. 42X92Column name '<columnName>' appears more than once in a constraint's column list.42X93Table '<tableName>' contains a constraint definition with column '<columnName>' which is not in the table.42X94<value> '<value>' does not exist.42X96The database class path contains an unknown jar file '<fileName>'.42X98Parameters are not allowed in a VIEW definition.42X99Parameters are not allowed in a TABLE definition.42Y00Class '<className>' does not implement org.apache.derby.iapi.db.AggregateDefinition and thus cannot be used as an aggregate expression.42Y01Constraint '<constraintName>' is invalid.42Y03'<statement>' is not recognized as a function or procedure.42Y04Cannot create a procedure or function with EXTERNAL NAME '<name>' because it is not a list separated by periods. The expected format is <full java path>.<method name>.42Y05There is no Foreign Key named '<key>'.42Y07Schema '<schemaNamet>' does not exist42Y08Foreign key constraints are not allowed on system tables.42Y09Void methods are only allowed within a CALL statement.42Y10A table constructor that is not in an INSERT statement has all ? parameters in one of its columns. For each column, at least one of the rows must have a non-parameter.42Y11A join specification is required with the '<clauseName>' clause.42Y12The ON clause of a JOIN is a '<expressionType>' expression. It must be a BOOLEAN expression.42Y13Column name '<columnName>' appears more than once in the CREATE VIEW statement.42Y16No public static method '<methodName>' was found in class '<className>'. The method might exist, but it is not public, or it is not static. 42Y22Aggregate <aggregateType> cannot operate on type <type>.42Y23Incorrect JDBC type info returned for column <colunmName>.42Y24View '<viewName>' is not updatable. (Views are currently not updatable.) 42Y25'<tableName>' is a system table. Users are not allowed to modify the contents of this table.42Y26Aggregates are not allowed in the GROUP BY list.42Y27Parameters are not allowed in the trigger action.42Y29The SELECT list of a non-grouped query contains at least one invalid expression. When the SELECT list contains at least one aggregate then all entries must be valid aggregate expressions.42Y30The SELECT list of a grouped query contains at least one invalid expression. If a SELECT list has a GROUP BY, the list may only contain valid grouping expressions and valid aggregate expressions. 42Y32Aggregator class '<className>' for aggregate '<aggregateName>' on type <type> does not implement com.ibm.db2j.aggregates.Aggregator. 42Y33Aggregate <aggregateName> contains one or more aggregates.42Y34Column name '<columnName>' matches more than one result column in table '<tableName>'.42Y35Column reference '<reference>' is invalid. When the SELECT list contains at least one aggregate then all entries must be valid aggregate expressions. 42Y36Column reference '<reference>' is invalid. For a SELECT list with a GROUP BY, the list may only contain valid grouping expressions and valid aggregate expressions. 42Y37'<value>' is a Java primitive and cannot be used with this operator.42Y38insertMode = replace is not permitted on an insert where the target table, '<tableName>', is referenced in the SELECT.42Y39'<value>' may not appear in a CHECK CONSTRAINT definition because it may return non-deterministic results.42Y40'<value>' appears multiple times in the UPDATE OF column list for trigger '<triggerName>'.42Y41'<value>' cannot be directly invoked via EXECUTE STATEMENT because it is part of a trigger.42Y42Scale '<value>' is not a valid scale for a <scaleValue>.42Y43Scale '<scaleValue>' is not a valid scale with precision of '<precision>'.42Y44Invalid key '<key>' specified in the Properties list of a FROM list. The case-sensitive keys that are currently supported are '<key>'. 42Y45VTI '<value>' cannot be bound because it is a special trigger VTI and this statement is not part of a trigger action or WHEN clause.42Y46Invalid Properties list in FROM list. There is no index '<index>' on table '<tableName>'.42Y48Invalid Properties list in FROM list. Either there is no named constraint '<constraintName>' on table '<tableName>' or the constraint does not have a backing index.42Y49Multiple values specified for property key '<key>'. 42Y50Properties list for table '<tableName>' may contain values for index or for constraint but not both.42Y55'<value>' cannot be performed on '<value>' because it does not exist.42Y56Invalid join strategy '<strategyValue>' specified in Properties list on table '<tableName>'. The currently supported values for a join strategy are: 'hash' and 'nestedloop'.42Y58NumberFormatException occurred when converting value '<value>' for optimizer override '<value>'.42Y59Invalid value, '<value>', specified for hashInitialCapacity override. Value must be greater than 0.42Y60Invalid value, '<value>', specified for hashLoadFactor override. Value must be greater than 0.0 and less than or equal to 1.0.42Y61Invalid value, '<value>', specified for hashMaxCapacity override. Value must be greater than 0.42Y62'<statement>' is not allowed on '<viewName>' because it is a view.42Y63Hash join requires an optimizable equijoin predicate on a column in the selected index or heap. An optimizable equijoin predicate does not exist on any column in table or index '<index>'. Use the 'index' optimizer override to specify such an index or the heap on table '<tableName>'.42Y64bulkFetch value of '<value>' is invalid. The minimum value for bulkFetch is 1.42Y65bulkFetch is not permitted on '<joinType>' joins.42Y66bulkFetch is not permitted on updatable cursors. 42Y67Schema '<schemaNamet>' cannot be dropped.42Y69No valid execution plan was found for this statement. This may have one of two causes: either you specified a hash join strategy when hash join is not allowed (no optimizable equijoin) or you are attempting to join two external virtual tables, each of which references the other, and so the statement cannot be evaluated. 42Y70The user specified an illegal join order. This could be caused by a join column from an inner table being passed as a parameter to an external virtual table.42Y71System function or procedure '<procedureName>' cannot be dropped.42Y82System generated stored prepared statement '<statement>' that cannot be dropped using DROP STATEMENT. It is part of a trigger. 42Y83An untyped null is not permitted as an argument to aggregate <aggregateName>. Please cast the null to a suitable type.42Y84'<value>' may not appear in a DEFAULT definition.42Y85The DEFAULT keyword is only allowed in a VALUES clause when the VALUES clause appears within an INSERT statement.42Y90FOR UPDATE is not permitted in this type of statement. 42Y91The USING clause is not permitted in an EXECUTE STATEMENT for a trigger action.42Y92<triggerName> triggers may only reference <value> transition variables/tables.42Y93Illegal REFERENCING clause: only one name is permitted for each type of transition variable/table.42Y94An AND or OR has a non-boolean operand. The operands of AND and OR must evaluate to TRUE, FALSE, or UNKNOWN. 42Y95The '<operatorName>' operator with a left operand type of '<operandType>' and a right operand type of '<operandType>' is not supported.42Y97Invalid escape character at line '<lineNumber>', column '<columnName>'.42Z02Multiple DISTINCT aggregates are not supported at this time.42Z07Aggregates are not permitted in the ON clause.42Z08Bulk insert replace is not permitted on '<value>' because it has an enabled trigger (<value>).42Z15Invalid type specified for column '<columnName>'. The type of a column may not be changed. 42Z16Only columns of type VARCHAR may have their length altered. 42Z17Invalid length specified for column '<columnName>'. Length must be greater than the current column length.42Z18Column '<columnName>' is part of a foreign key constraint '<constraintName>'. To alter the length of this column, you should drop the constraint first, perform the ALTER TABLE, and then recreate the constraint.42Z19Column '<columnName>' is being referenced by at least one foreign key constraint '<constraintName>'. To alter the length of this column, you should drop referencing constraints, perform the ALTER TABLE and then recreate the constraints. 42Z20Column '<columnName>' cannot be made nullable. It is part of a primary key or unique constraint, which cannot have any nullable columns.42Z21Invalid increment specified for identity for column '<columnName>'. Increment cannot be zero. 42Z22Invalid type specified for identity column '<columnName>'. The only valid types for identity columns are BIGINT, INT and SMALLINT.42Z23Attempt to modify an identity column '<columnName>'. 42Z24Overflow occurred in identity value for column '<tableName>' in table '<columnName>'.42Z25INTERNAL ERROR identity counter. Update was called without arguments with current value \= NULL.42Z26A column, '<columnName>', with an identity default cannot be made nullable.42Z27A nullable column, '<columnName>', cannot be modified to have identity default.42Z50INTERNAL ERROR: Unable to generate code for <value>.42Z53INTERNAL ERROR: Type of activation to generate for node choice <value> is unknown.42Z60<value> not allowed unless database property <propertyName> has value '<value>'.42Z70Binding directly to an XML value is not allowed; try using XMLPARSE.42Z71XML values are not allowed in top-level result sets; try using XMLSERIALIZE.42Z72Missing SQL/XML keyword(s) '<keywords>' at line <lineNumber>, column <columnNumber>.42Z73Invalid target type for XMLSERIALIZE: '<typeName>'.42Z74XML feature not supported: '<featureName>'.42Z75XML query expression must be a string literal.42Z76Multiple XML context items are not allowed.42Z77Context item must have type 'XML'; '<value>' is not allowed.42Z79Unable to determine the parameter type for XMLPARSE; try using a CAST.42Z90Class '<className>' does not return an updatable ResultSet.42Z91subquery42Z92repeatable read42Z93Constraints '<constraintName>' and '<constraintName>' have the same set of columns, which is not allowed. 42Z97Renaming column '<columnName>' will cause check constraint '<constraintName>' to break.42Z99String or Hex literal cannot exceed 64K.42Z9Aread uncommitted42Z9BThe external virtual table interface does not support BLOB or CLOB columns. '<value>' column '<value>'. 42Z9DProcedures that modify SQL data are not allowed in BEFORE triggers.42Z9D'<statement>' statements are not allowed in '<triggerName>' triggers.42Z9EConstraint '<constraintName>' is not a <value> constraint.42Z9FToo many indexes (<index>) on the table <tableName>. The limit is <number>. 42ZA0Statement too complex. Try rewriting the query to remove complexity. Eliminating many duplicate expressions or breaking up the query and storing interim results in a temporary table can often help resolve this error.42ZA1Invalid SQL in Batch: '<batch>'.42ZA2Operand of LIKE predicate with type <type> and collation <value> is not compatable with LIKE pattern operand with type <type> and collation <value>.42ZA3The table will have collation type <type> which is different than the collation of the schema <type> hence this operation is not supported .
Class 57: DRDA Network Protocol: Execution FailureSQLSTATEMessage Text57017There is no available conversion for the source code page, <codePage>, to the target code page, <codePage>. The connection has been terminated.
Class 58: DRDA Network Protocol: Protocol ErrorSQLSTATEMessage Text58009Network protocol exception: only one of the VCM, VCS length can be greater than 0. The connection has been terminated.58009The connection was terminated because the encoding is not supported.58009Network protocol exception: actual code point, <value>, does not match expected code point, <value>. The connection has been terminated.58009Network protocol exception: DDM collection contains less than 4 bytes of data. The connection has been terminated.58009Network protocol exception: collection stack not empty at end of same id chain parse. The connection has been terminated.58009Network protocol exception: DSS length not 0 at end of same id chain parse. The connection has been terminated.58009Network protocol exception: DSS chained with same id at end of same id chain parse. The connection has been terminated.58009Network protocol exception: end of stream prematurely reached while reading InputStream, parameter #<value>. The connection has been terminated.58009Network protocol exception: invalid FDOCA LID. The connection has been terminated.58009Network protocol exception: SECTKN was not returned. The connection has been terminated.58009Network protocol exception: only one of NVCM, NVCS can be non-null. The connection has been terminated.58009Network protocol exception: SCLDTA length, <length>, is invalid for RDBNAM. The connection has been terminated.58009Network protocol exception: SCLDTA length, <length>, is invalid for RDBCOLID. The connection has been terminated.58009Network protocol exception: SCLDTA length, <length>, is invalid for PKGID. The connection has been terminated.58009Network protocol exception: PKGNAMCSN length, <length>, is invalid at SQLAM <value>. The connection has been terminated.58010A network protocol error was encountered. A connection could not be established because the manager <value> at level <value> is not supported by the server. 58014The DDM command 0x<value> is not supported. The connection has been terminated.58015The DDM object 0x<value> is not supported. The connection has been terminated.58016The DDM parameter 0x<value> is not supported. The connection has been terminated.58017The DDM parameter value 0x<value> is not supported. An input host variable may not be within the range the server supports. The connection has been terminated.
Class X0: Execution exceptionsSQLSTATEMessage TextX0A00The select list mentions column '<columnName>' twice. This is not allowed in queries with GROUP BY or HAVING clauses. Try aliasing one of the conflicting columns to a unique name.X0X02Table '<tableName>' cannot be locked in '<mode>' mode.X0X03Invalid transaction state - held cursor requires same isolation levelX0X05Table/View '<tableName>' does not exist.X0X07Cannot remove jar file '<fileName>' because it is on your derby.database.classpath '<fileName>'.X0X0DInvalid column array length '<columnArrayLength>'. To return generated keys, column array must be of length 1 and contain only the identity column.X0X0ETable '<tableName>' does not have an auto-generated column at column position '<columnPosition>'.X0X0FTable '<tableName>' does not have an auto-generated column named '<columnName>'.X0X10The USING clause returned more than one row; only single-row ResultSets are permissible.X0X11The USING clause did not return any results so no parameters can be set. X0X13Jar file '<fileName>' does not exist in schema '<schemaNamet>'.X0X57An attempt was made to put a Java value of type '<type>' into a SQL value, but there is no corresponding SQL type. The Java value is probably the result of a method call or field access.X0X60A cursor with name '<cursorName>' already exists.X0X61The values for column '<location>' in index '<columnName>' and table '<indexName>.<schemaNamet>' do not match for row location <tableName>. The value in the index is '<value>', while the value in the base table is '<value>'. The full index key, including the row location, is '<indexKey>'. The suggested corrective action is to recreate the index.X0X62Inconsistency found between table '<tableName>' and index '<indexName>'. Error when trying to retrieve row location '<rowLocation>' from the table. The full index key, including the row location, is '<indexKey>'. The suggested corrective action is to recreate the index.X0X63Got IOException '<value>'.X0X67Columns of type '<type>' may not be used in CREATE INDEX, ORDER BY, GROUP BY, UNION, INTERSECT, EXCEPT or DISTINCT statements because comparisons are not supported for that type.X0X81<value> '<value>' does not exist.X0X85Index '<indexName>' was not created because '<indexType>' is not a valid index type.X0X860 is an invalid parameter value for ResultSet.absolute(int row).X0X87ResultSet.relative(int row) cannot be called when the cursor is not positioned on a row.X0X95Operation '<operationName>' cannot be performed on object '<objectName>' because there is an open ResultSet dependent on that object.X0X99Index '<indexName>' does not exist.X0Y16'<value>' is not a view. If it is a table, then use DROP TABLE instead.X0Y23Operation '<operationName>' cannot be performed on object '<objectName>' because VIEW '<viewName>' is dependent on that object.X0Y24Operation '<operationName>' cannot be performed on object '<objectName>' because STATEMENT '<statement>' is dependent on that object.X0Y25Operation '<operationName>' cannot be performed on object '<objectName>' because <value> '<value>' is dependent on that object.X0Y26Index '<indexName>' is required to be in the same schema as table '<tableName>'.X0Y28Index '<indexName>' cannot be created on system table '<tableName>'. Users cannot create indexes on system tables.X0Y32<value> '<value>' already exists in <value> '<value>'.X0Y38Cannot create index '<indexName>' because table '<tableName>' does not exist.X0Y41Constraint '<constraintName>' is invalid because the referenced table <tableName> has no primary key. Either add a primary key to <tableName> or explicitly specify the columns of a unique constraint that this foreign key references. X0Y42Constraint '<constraintName>' is invalid: the types of the foreign key columns do not match the types of the referenced columns.X0Y43Constraint '<constraintName>' is invalid: the number of columns in <constraintName> (<value>) does not match the number of columns in the referenced key (<value>).X0Y44Constraint '<constraintName>' is invalid: there is no unique or primary key constraint on table '<tableName>' that matches the number and types of the columns in the foreign key.X0Y45Foreign key constraint '<constraintName>' cannot be added to or enabled on table <tableName> because one or more foreign keys do not have matching referenced keys. X0Y46Constraint '<constraintName>' is invalid: referenced table <tableName> does not exist.X0Y54Schema '<schemaNamet>' cannot be dropped because it is not empty.X0Y55The number of rows in the base table does not match the number of rows in at least 1 of the indexes on the table. Index '<indexName>' on table '<schemaNamet>.<tableName>' has <number> rows, but the base table has <number> rows. The suggested corrective action is to recreate the index.X0Y56'<value>' is not allowed on the System table '<tableName>'.X0Y57A non-nullable column cannot be added to table '<tableName>' because the table contains at least one row. Non-nullable columns can only be added to empty tables.X0Y58Attempt to add a primary key constraint to table '<tableName>' failed because the table already has a constraint of that type. A table can only have a single primary key constraint.X0Y59Attempt to add or enable constraint(s) on table '<rowName>' failed because the table contains <constraintName> row(s) that violate the following check constraint(s): <tableName>.X0Y63The command on table '<tableName>' failed because null data was found in the primary key or unique constraint/index column(s). All columns in a primary or unique index key must not be null. X0Y66Cannot issue commit in a nested connection when there is a pending operation in the parent connection.X0Y67Cannot issue rollback in a nested connection when there is a pending operation in the parent connection.X0Y68<value> '<value>' already exists.X0Y69<triggerName> is not supported in trigger <value>.X0Y70INSERT, UPDATE and DELETE are not permitted on table <triggerName> because trigger <tableName> is active.X0Y71Transaction manipulation such as SET ISOLATION is not permitted because trigger <triggerName> is active.X0Y72Bulk insert replace is not permitted on '<value>' because it has an enabled trigger (<value>).X0Y77Cannot issue set transaction isolation statement on a global transaction that is in progress because it would have implicitly committed the global transaction.X0Y78Statement.executeQuery() cannot be called with a statement that returns a row count.X0Y78<value>.executeQuery() cannot be called because multiple result sets were returned. Use <value>.execute() to obtain multiple results.X0Y78<value>.executeQuery() was called but no result set was returned. Use <value>.executeUpdate() for non-queries.X0Y79Statement.executeUpdate() cannot be called with a statement that returns a ResultSet.X0Y80ALTER table '<tableName>' failed. Null data found in column '<columnName>'.X0Y83WARNING: While deleting a row from a table the index row for base table row <rowName> was not found in index with conglomerate id <id>. This problem has automatically been corrected as part of the delete operation.
Class XBCA: CacheServiceSQLSTATEMessage TextXBCA0Cannot create new object with key <cache> in <key> cache. The object already exists in the cache.
Class XBCM: ClassManagerSQLSTATEMessage TextXBCM1Java linkage error thrown during load of generated class <className>.XBCM2Cannot create an instance of generated class <className>.XBCM3Method <className>() does not exist in generated class <methodName>.XBCM4Java class file format limit(s) exceeded: <className> in generated class <value>.
Class XBCX: CryptographySQLSTATEMessage TextXBCX0Exception from Cryptography provider. See next exception for details.XBCX1Initializing cipher with illegal mode, must be either ENCRYPT or DECRYPT.XBCX2Initializing cipher with a boot password that is too short. The password must be at least <number> characters long. XBCX5Cannot change boot password to null.XBCX6Cannot change boot password to a non-string serializable type.XBCX7Wrong format for changing boot password. Format must be : old_boot_password, new_boot_password.XBCX8Cannot change boot password for a non-encrypted database.XBCX9Cannot change boot password for a read-only database. XBCXAWrong boot password.XBCXBBad encryption padding '<value>' or padding not specified. 'NoPadding' must be used.XBCXCEncryption algorithm '<algorithmName>' does not exist. Please check that the chosen provider '<providerName>' supports this algorithm.XBCXDThe encryption algorithm cannot be changed after the database is created.XBCXEThe encryption provider cannot be changed after the database is created.XBCXFThe class '<className>' representing the encryption provider cannot be found.XBCXGThe encryption provider '<providerName>' does not exist.XBCXHThe encryptionAlgorithm '<algorithmName>' is not in the correct format. The correct format is algorithm/feedbackMode/NoPadding.XBCXIThe feedback mode '<mode>' is not supported. Supported feedback modes are CBC, CFB, OFB and ECB.XBCXJThe application is using a version of the Java Cryptography Extension (JCE) earlier than 1.2.1. Please upgrade to JCE 1.2.1 and try the operation again. XBCXKThe given encryption key does not match the encryption key used when creating the database. Please ensure that you are using the correct encryption key and try again. XBCXLThe verification process for the encryption key was not successful. This could have been caused by an error when accessing the appropriate file to do the verification process. See next exception for details. XBCXMThe length of the external encryption key must be an even number.XBCXNThe external encryption key contains one or more illegal characters. Allowed characters for a hexadecimal number are 0-9, a-f and A-F.XBCXOCannot encrypt the database when there is a global transaction in the prepared state.XBCXPCannot re-encrypt the database with a new boot password or an external encryption key when there is a global transaction in the prepared state.XBCXQCannot configure a read-only database for encryption.XBCXRCannot re-encrypt a read-only database with a new boot password or an external encryption key .XBCXSCannot configure a database for encryption, when database is in the log archive mode.XBCXTCannot re-encrypt a database with a new boot password or an external encryption key, when database is in the log archive mode.XBCXUEncryption of an un-encrypted database failed: <failureMessage>XBCXVEncryption of an encrypted database with a new key or a new password failed: <failureMessage>
Class XBM: MonitorSQLSTATEMessage TextXBM01Startup failed due to an exception. See next exception for details. XBM02Startup failed due to missing functionality for <value>. Please ensure your classpath includes the correct Derby software.XBM05Startup failed due to missing product version information for <value>.XBM06Startup failed. An encrypted database cannot be accessed without the correct boot password. XBM07Startup failed. Boot password must be at least 8 bytes long.XBM08Could not instantiate <value> StorageFactory class <value>.XBM0GFailed to start encryption engine. Please make sure you are running Java 2 and have downloaded an encryption provider such as jce and put it in your class path. XBM0HDirectory <directoryName> cannot be created.XBM0IDirectory <directoryName> cannot be removed.XBM0JDirectory <directoryName> already exists.XBM0KUnknown sub-protocol for database name <databaseName>.XBM0LSpecified authentication scheme class <className> does implement the authentication interface <interfaceName>.XBM0MError creating instance of authentication scheme class <className>.XBM0NJDBC Driver registration with java.sql.DriverManager failed. See next exception for details. XBM0PService provider is read-only. Operation not permitted. XBM0QFile <fileName> not found. Please make sure that backup copy is the correct one and it is not corrupted.XBM0RUnable to remove File <fileName>. XBM0SUnable to rename file '<fileName>' to '<fileName>'XBM0TAmbiguous sub-protocol for database name <databaseName>. XBM0UNo class was registered for identifier <identifierName>.XBM0VAn exception was thrown while loading class <identifierName> registered for identifier <className>.XBM0WAn exception was thrown while creating an instance of class <identifierName> registered for identifier <className>.XBM0XSupplied territory description '<value>' is invalid, expecting ln[_CO[_variant]]
ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter ISO-3166 country codes, see java.util.Locale.XBM03Supplied value '<value>' for collation attribute is invalid, expecting UCS_BASIC or TERRITORY_BASED.XBM04Collator support not available from the JVM for the database's locale '<value>'.XBM0YBackup database directory <directoryName> not found. Please make sure that the specified backup path is right.XBM0ZUnable to copy file '<fileName>' to '<fileName>'. Please make sure that there is enough space and permissions are correct.
Class XCL: Execution exceptionsSQLSTATEMessage TextXCL01Result set does not return rows. Operation <operationName> not permitted. XCL05Activation closed, operation <operationName> not permitted.XCL07Cursor '<cursorName>' is closed. Verify that autocommit is OFF.XCL08Cursor '<cursorName>' is not on a row.XCL09An Activation was passed to the '<methodName>' method that does not match the PreparedStatement.XCL10A PreparedStatement has been recompiled and the parameters have changed. If you are using JDBC you must prepare the statement again. XCL12An attempt was made to put a data value of type '<datatypeName>' into a data value of type '<datatypeName>'.XCL13The parameter position '<parameterPosition>' is out of range. The number of parameters for this prepared statement is '<number>'.XCL14The column position '<columnPosition>' is out of range. The number of columns for this ResultSet is '<number>'.XCL15A ClassCastException occurred when calling the compareTo() method on an object '<object>'. The parameter to compareTo() is of class '<className>'.XCL16ResultSet not open. Operation '<operation>' not permitted. Verify that autocommit is OFF.XCL16ResultSet not open. Verify that autocommit is OFF.XCL17Statement not allowed in this database.XCL18Stream of column value in result cannot be retrieved twiceXCL19Missing row in table '<tableName>' for key '<key>'.XCL20Catalogs at version level '<versionNumber>' cannot be upgraded to version level '<versionNumber>'.XCL21You are trying to execute a Data Definition statement (CREATE, DROP, or ALTER) while preparing a different statement. This is not allowed. It can happen if you execute a Data Definition statement from within a static initializer of a Java class that is being used from within a SQL statement.XCL22Parameter <parameterName> cannot be registered as an OUT parameter because it is an IN parameter. XCL23SQL type number '<type>' is not a supported type by registerOutParameter().XCL24Parameter <parameterName> appears to be an output parameter, but it has not been so designated by registerOutParameter(). If it is not an output parameter, then it has to be set to type <type>.XCL25Parameter <parameterName> cannot be registered to be of type <type> because it maps to type <type> and they are incompatible.XCL26Parameter <parameterName> is not an output parameter.XCL27Return output parameters cannot be set.XCL30An IOException was thrown when reading a '<value>' from an InputStream.XCL31Statement closed.XCL33The table cannot be defined as a dependent of table <tableName> because of delete rule restrictions. (The relationship is self-referencing and a self-referencing relationship already exists with the SET NULL delete rule.) XCL34The table cannot be defined as a dependent of table <tableName> because of delete rule restrictions. (The relationship forms a cycle of two or more tables that cause the table to be delete-connected to itself (all other delete rules in the cycle would be CASCADE)). XCL35The table cannot be defined as a dependent of table <tableName> because of delete rule restrictions. (The relationship causes the table to be delete-connected to the indicated table through multiple relationships and the delete rule of the existing relationship is SET NULL.). XCL36The delete rule of foreign key must be <value>. (The referential constraint is self-referencing and an existing self-referencing constraint has the indicated delete rule (NO ACTION, RESTRICT or CASCADE).)XCL37The delete rule of foreign key must be <value>. (The referential constraint is self-referencing and the table is dependent in a relationship with a delete rule of CASCADE.)XCL38the delete rule of foreign key must be <ruleName>. (The relationship would cause the table to be delete-connected to the same table through multiple relationships and such relationships must have the same delete rule (NO ACTION, RESTRICT or CASCADE).) XCL39The delete rule of foreign key cannot be CASCADE. (A self-referencing constraint exists with a delete rule of SET NULL, NO ACTION or RESTRICT.) XCL40The delete rule of foreign key cannot be CASCADE. (The relationship would form a cycle that would cause a table to be delete-connected to itself. One of the existing delete rules in the cycle is not CASCADE, so this relationship may be definable if the delete rule is not CASCADE.) XCL41the delete rule of foreign key can not be CASCADE. (The relationship would cause another table to be delete-connected to the same table through multiple paths with different delete rules or with delete rule equal to SET NULL.) XCL42CASCADEXCL43SET NULLXCL44RESTRICTXCL45NO ACTIONXCL46SET DEFAULTXCL47Use of '<value>' requires database to be upgraded from version <versionNumber> to version <versionNumber> or later.XCL48 TRUNCATE TABLE is not permitted on '<value>' because unique/primary key constraints on this table are referenced by enabled foreign key constraints from other tables. XCL49 TRUNCATE TABLE is not permitted on '<value>' because it has an enabled DELETE trigger (<value>).XCL50Upgrading the database from a previous version is not supported. The database being accessed is at version level '<versionNumber>', this software is at version level '<versionNumber>'. XCL51The requested function can not reference tables in SESSION schema.XCL52The statement has been cancelled or timed out.XCL53Stream is closed
Class XCW: Upgrade unsupportedSQLSTATEMessage TextXCW00Unsupported upgrade from '<value>' to '<value>'.
Class XCX: Internal Utility ErrorsSQLSTATEMessage TextXCXA0Invalid identifier.XCXB0Invalid database classpath: '<classpath>'.XCXC0Invalid id list.XCXE0You are trying to do an operation that uses the territory of the database, but the database does not have a territory.
Class XCY: Derby Property ExceptionsSQLSTATEMessage TextXCY00Invalid value for property '<value>'='<value>'.XCY02The requested property change is not supported '<value>'='<value>'.XCY03Required property '<propertyName>' has not been set.XCY04Invalid syntax for optimizer overrides. The syntax should be -- DERBY-PROPERTIES propertyName = value [, propertyName = value]*
Class XCZ: org.apache.derby.database.UserUtilitySQLSTATEMessage TextXCZ00Unknown permission '<permissionName>'.XCZ01Unknown user '<authorizationID>'.XCZ02Invalid parameter '<value>'='<value>'.
Class XD00: Dependency ManagerSQLSTATEMessage TextXD003Unable to restore dependency from disk. DependableFinder = '<value>'. Further information: '<value>'.XD004Unable to store dependencies.
Class XIE: Import/Export ExceptionsSQLSTATEMessage TextXIE01Connection was null.XIE03Data found on line <lineNumber> for column <columnName> after the stop delimiter. XIE04Data file not found: <fileName>XIE05Data file cannot be null. XIE06Entity name was null.XIE07Field and record separators cannot be substrings of each other. XIE08There is no column named: <columnName>. XIE09The total number of columns in the row is: <number>. XIE0BColumn '<columnName>' in the table is of type <type>, it is not supported by the import/export feature. XIE0DCannot find the record separator on line <lineNumber>.XIE0ERead endOfFile at unexpected place on line <lineNumber>.XIE0IAn IOException occurred while writing data to the file.XIE0JA delimiter is not valid or is used more than once.XIE0KThe period was specified as a character string delimiter.XIE0MTable '<tableName>' does not exist. XIE0NAn invalid hexadecimal string '<hexString>' detected in the import file.XIE0PLob data file <fileName> referenced in the import file not found.XIE0QLob data file name cannot be null. XIE0RImport error on line <lineNumber> of file <fileName>: <details>XIE0SThe export operation was not performed, because the specified output file (<fileName>) already exists. Export processing will not overwrite an existing file, even if the process has permissions to write to that file, due to security concerns, and to avoid accidental file damage. Please either change the output file name in the export procedure arguments to specify a file which does not exist, or delete the existing file, then retry the export operation.XIE0TThe export operation was not performed, because the specified large object auxiliary file (<fileName>) already exists. Export processing will not overwrite an existing file, even if the process has permissions to write to that file, due to security concerns, and to avoid accidental file damage. Please either change the large object auxiliary file name in the export procedure arguments to specify a file which does not exist, or delete the existing file, then retry the export operation.
Class XJ: Connectivity ErrorsSQLSTATEMessage TextXJ004Database '<databaseName>' not found.XJ008Cannot rollback or release a savepoint when in auto-commit mode.XJ009Use of CallableStatement required for stored procedure call or use of output parameters: <value>XJ010Cannot issue savepoint when autoCommit is on.XJ011Cannot pass null for savepoint name.XJ012'<value>' already closed.XJ013No ID for named savepoints.XJ014No name for un-named savepoints.XJ015Derby system shutdown.XJ016Method '<methodName>' not allowed on prepared statement.XJ017No savepoint command allowed inside the trigger code.XJ018Column name cannot be null.XJ020Object type not convertible to TYPE '<typeName>', invalid java.sql.Types value, or object was null.XJ021Type is not supported.XJ022Unable to set stream: '<name>'.XJ023Input stream did not have exact amount of data as the requested length.XJ025Input stream cannot have negative length.XJ028The URL '<urlValue>' is not properly formed.XJ030Cannot set AUTOCOMMIT ON when in a nested connection.XJ040Failed to start database '<databaseName>', see the next exception for details.XJ041Failed to create database '<databaseName>', see the next exception for details.XJ042'<value>' is not a valid value for property '<propertyName>'.XJ044'<value>' is an invalid scale.XJ045Invalid or (currently) unsupported isolation level, '<levelName>', passed to Connection.setTransactionIsolation(). The currently supported values are java.sql.Connection.TRANSACTION_SERIALIZABLE, java.sql.Connection.TRANSACTION_REPEATABLE_READ, java.sql.Connection.TRANSACTION_READ_COMMITTED, and java.sql.Connection.TRANSACTION_READ_UNCOMMITTED.XJ049Conflicting create attributes specified.XJ04BBatch cannot contain a command that attempts to return a result set.XJ04CCallableStatement batch cannot contain output parameters.XJ056Cannot set AUTOCOMMIT ON when in an XA connection.XJ057Cannot commit a global transaction using the Connection, commit processing must go thru XAResource interface.XJ058Cannot rollback a global transaction using the Connection, commit processing must go thru XAResource interface.XJ059Cannot close a connection while a global transaction is still active.XJ05BJDBC attribute '<attributeName>' has an invalid value '<value>', valid values are '<value>'.XJ05CCannot set holdability ResultSet.HOLD_CURSORS_OVER_COMMIT for a global transaction.XJ061The '<methodName>' method is only allowed on scroll cursors.XJ062Invalid parameter value '<value>' for ResultSet.setFetchSize(int rows).XJ063Invalid parameter value '<value>' for Statement.setMaxRows(int maxRows). Parameter value must be >= 0.XJ064Invalid parameter value '<value>' for setFetchDirection(int direction).XJ065Invalid parameter value '<value>' for Statement.setFetchSize(int rows).XJ066Invalid parameter value '<value>' for Statement.setMaxFieldSize(int max).XJ067SQL text pointer is null.XJ068Only executeBatch and clearBatch allowed in the middle of a batch.XJ069No SetXXX methods allowed in case of USING execute statement.XJ070Negative or zero position argument '<argument>' passed in a Blob or Clob method.XJ071Negative length argument '<argument>' passed in a BLOB or CLOB method.XJ072Null pattern or searchStr passed in to a BLOB or CLOB position method.XJ073The data in this BLOB or CLOB is no longer available. The BLOB/CLOB's transaction may be committed, or its connection is closed.XJ074Invalid parameter value '<value>' for Statement.setQueryTimeout(int seconds).XJ076The position argument '<positionArgument>' exceeds the size of the BLOB/CLOB.XJ077Got an exception when trying to read the first byte/character of the BLOB/CLOB pattern using getBytes/getSubString.XJ078Offset '<value>' is either less than zero or is too large for the current BLOB/CLOB.XJ079The length specified '<number>' exceeds the size of the BLOB/BLOB.XJ080USING execute statement passed <number> parameters rather than <number>.XJ081Conflicting create/restore/recovery attributes specified.XJ081Invalid value '<value>' passed as parameter '<parameterName>' to method '<methodName>'XJ085Stream has already been read and end-of-file reached and cannot be re-used.XJ086This method cannot be invoked while the cursor is not on the insert row or if the concurrency of this ResultSet object is CONCUR_READ_ONLY.XJ087Sum of position('<pos>') and length('<length>') is greater than the size of the LOB.XJ088Invalid operation: wasNull() called with no data retrieved.XJ090Invalid parameter: calendar is null.XJ091Invalid argument: parameter index <indexNumber> is not an OUT or INOUT parameter.XJ093Length of BLOB/CLOB, <number>, is too large. The length cannot exceed <number>.XJ094This object is already closed.XJ095An attempt to execute a privileged action failed.XJ096A resource bundle could not be found in the <packageName> package for <value>XJ097Cannot rollback or release a savepoint that was not created by this connection.XJ098The auto-generated keys value <value> is invalidXJ099The Reader/Stream object does not contain length charactersXJ100The scale supplied by the registerOutParameter method does not match with the setter method. Possible loss of precision!XJ102Can not perform an insert at the current position.XJ103Table name can not be nullXJ104Shared key length is invalid: <value>.XJ105DES key has the wrong length, expected length <number>, got length <number>.XJ106No such padding XJ107Bad PaddingXJ108Illegal Block SizeXJ110Primary table name can not be nullXJ111Foreign table name can not be nullXJ112Security exception encountered, see next exception for details.XJ113Unable to open file <fileName> : <error>XJ114Invalid cursor name '<cursorName>'XJ115Unable to open resultSet with requested holdability <value>.XJ116No more than <number> commands may be added to a single batch.XJ117Batching of queries not allowed by J2EE compliance.XJ118Query batch requested on a non-query statement.XJ121Invalid operation at current cursor position.XJ122No updateXXX methods were called on this row.XJ123This method must be called to update values in the current row or the insert row.XJ124Column not updatable.XJ125This method should only be called on ResultSet objects that are scrollable (type TYPE_SCROLL_INSENSITIVE).XJ126This method should not be called on sensitive dynamic cursors.XJ128Unable to unwrap for '<value>'XJ200Exceeded maximum number of sections <value>XJ202Invalid cursor name '<cursorName>'.XJ203Cursor name '<cursorName>' is already in useXJ204Unable to open result set with requested holdability <holdValue>.XJ206SQL text '<value>' has no tokens.XJ207executeQuery method can not be used for update.XJ208Non-atomic batch failure. The batch was submitted, but at least one exception occurred on an individual member of the batch. Use getNextException() to retrieve the exceptions for specific batched elements.XJ209The required stored procedure is not installed on the server.XJ210The load module name for the stored procedure on the server is not found.XJ211Non-recoverable chain-breaking exception occurred during batch processing. The batch is terminated non-atomically.XJ212Invalid attribute syntax: <attributeSyntax>XJ213The traceLevel connection property does not have a valid format for a number.XJ214An IO Error occurred when calling free() on a CLOB or BLOB.XJ215You cannot invoke other java.sql.Clob/java.sql.Blob methods after calling the free() method or after the Blob/Clob's transaction has been committed or rolled back.XJ216The length of this BLOB/CLOB is not available yet. When a BLOB or CLOB is accessed as a stream, the length is not available until the entire stream has been processed.XJ217The locator that was supplied for this CLOB/BLOB is invalid
Class XK: Security ExceptionsSQLSTATEMessage TextXK000The security policy could not be reloaded: <reason>
Class XN: Network Client ExceptionsSQLSTATEMessage TextXN001Connection reset is not allowed when inside a unit of work.XN008Query processing has been terminated due to an error on the server.XN009Error obtaining length of BLOB/CLOB object, exception follows.XN010Procedure name can not be null.XN011Procedure name length <number> is not within the valid range of 1 to <number>.XN012On <operatingSystemName> platforms, XA supports version <versionNumber> and above, this is version <versionNumber>XN013Invalid scroll orientation.XN014Network protocol error: encountered an IOException, parameter #<value>. Remaining data has been padded with 0x0. Message: <messageText>.XN015Network protocol error: the specified size of the InputStream, parameter #<value>, is less than the actual InputStream length.XN016Network protocol error: encountered error in stream length verification, parameter #<value>. Message: <messageText>.XN017Network protocol error: end of stream prematurely reached, parameter #<value>. Remaining data has been padded with 0x0.XN018Network protocol error: the specified size of the Reader, parameter #<value>, is less than the actual InputStream length.XN019Error executing a <value>, server returned <value>.
Class XSAI: Store - access.protocol.interfaceSQLSTATEMessage TextXSAI2The conglomerate (<value>) requested does not exist.XSAI3Feature not implemented.
Class XSAM: Store - AccessManagerSQLSTATEMessage TextXSAM0Exception encountered while trying to boot module for '<value>'.XSAM2There is no index or conglomerate with conglom id '<conglomID>' to drop.XSAM3There is no index or conglomerate with conglom id '<conglomID>'.XSAM4There is no sort called '<sortName>'.XSAM5Scan must be opened and positioned by calling next() before making other calls.XSAM6Record <containerName> on page <pageNumber> in container <recordNumber> not found.
Class XSAS: Store - SortSQLSTATEMessage TextXSAS0A scan controller interface method was called which is not appropriate for a scan on a sort.XSAS1An attempt was made to fetch a row before the beginning of a sort or after the end of a sort.XSAS3The type of a row inserted into a sort does not match the sort's template.XSAS6Could not acquire resources for sort.
Class XSAX: Store - access.protocol.XA statementSQLSTATEMessage TextXSAX0XA protocol violation.XSAX1An attempt was made to start a global transaction with an Xid of an existing global transaction.
Class XSCB: Store - BTreeSQLSTATEMessage TextXSCB0Could not create container.XSCB1Container <containerName> not found.XSCB2The required property <propertyName> not found in the property list given to createConglomerate() for a btree secondary index.XSCB3Unimplemented feature.XSCB4A method on a btree open scan has been called prior to positioning the scan on the first row (i.e. no next() call has been made yet). The current state of the scan is (<value>).XSCB5During logical undo of a btree insert or delete the row could not be found in the tree.XSCB6Limitation: Record of a btree secondary index cannot be updated or inserted due to lack of space on the page. Use the parameters derby.storage.pageSize and/or derby.storage.pageReservedSpace to work around this limitation.XSCB7An internal error was encountered during a btree scan - current_rh is null = <value>, position key is null = <value>.XSCB8The btree conglomerate <value> is closed.XSCB9Reserved for testing.
Class XSCG0: ConglomerateSQLSTATEMessage TextXSCG0Could not create a template.
Class XSCH: HeapSQLSTATEMessage TextXSCH0Could not create container.XSCH1Container <containerName> not found.XSCH4Conglomerate could not be created.XSCH5In a base table there was a mismatch between the requested column number <number> and the maximum number of columns <number>.XSCH6The heap container with container id <containerID> is closed.XSCH7The scan is not positioned.XSCH8The feature is not implemented.
Class XSDA: RawStore - Data.Generic statementSQLSTATEMessage TextXSDA1An attempt was made to access an out of range slot on a pageXSDA2An attempt was made to update a deleted recordXSDA3Limitation: Record cannot be updated or inserted due to lack of space on the page. Use the parameters derby.storage.pageSize and/or derby.storage.pageReservedSpace to work around this limitation.XSDA4An unexpected exception was thrownXSDA5An attempt was made to undelete a record that is not deletedXSDA6Column <columnName> of row is null, it needs to be set to point to an object.XSDA7Restore of a serializable or SQLData object of class <className>, attempted to read more data than was originally storedXSDA8Exception during restore of a serializable or SQLData object of class <className>XSDA9Class not found during restore of a serializable or SQLData object of class <className>XSDAAIllegal time stamp <value>, either time stamp is from a different page or of incompatible implementationXSDABcannot set a null time stampXSDACAttempt to move either rows or pages from one container to another.XSDADAttempt to move zero rows from one page to another.XSDAECan only make a record handle for special record handle id.XSDAFUsing special record handle as if it were a normal record handle.XSDAGThe allocation nested top transaction cannot open the container.XSDAIPage <page> being removed is already locked for deallocation.XSDAJException during write of a serializable or SQLData objectXSDAKWrong page is gotten for record handle <value>.XSDALRecord handle <value> unexpectedly points to overflow page.XSDAMException during restore of a SQLData object of class <className>. The specified class cannot be instantiated.XSDANException during restore of a SQLData object of class <className>. The specified class encountered an illegal access exception.
Class XSDB: RawStore - Data.Generic transactionSQLSTATEMessage TextXSDB0Unexpected exception on in-memory page <page>XSDB1Unknown page format at page <page>XSDB2Unknown container format at container <containerName> : <value>XSDB3Container information cannot change once written: was <value>, now <value>XSDB4Page <page> is at version <versionNumber>, the log file contains change version <versionNumber>, either there are log records of this page missing, or this page did not get written out to disk properly.XSDB5Log has change record on page <page>, which is beyond the end of the container.XSDB6Another instance of Derby may have already booted the database <databaseName>.XSDB7WARNING: Derby (instance <value>) is attempting to boot the database <databaseName> even though Derby (instance <value>) may still be active. Only one instance of Derby should boot a database at a time. Severe and non-recoverable corruption can result and may have already occurred.XSDB8WARNING: Derby (instance <value>) is attempting to boot the database <databaseName> even though Derby (instance <value>) may still be active. Only one instance of Derby should boot a database at a time. Severe and non-recoverable corruption can result if 2 instances of Derby boot on the same database at the same time. The db2j.database.forceDatabaseLock=true property has been set, so the database will not boot until the db.lck is no longer present. Normally this file is removed when the first instance of Derby to boot on the database exits, but it may be left behind in some shutdowns. It will be necessary to remove the file by hand in that case. It is important to verify that no other VM is accessing the database before deleting the db.lck file by hand.XSDB9Stream container <containerName> is corrupt.XSDBAAttempt to allocate object <object> failed.
Class XSDF: RawStore - Data.Filesystem statementSQLSTATEMessage TextXSDF0Could not create file <fileName> as it already exists.XSDF1Exception during creation of file <fileName> for containerXSDF2Exception during creation of file <fileName> for container, file could not be removed. The exception was: <value>.XSDF3Cannot create segment <segmentName>.XSDF4Exception during remove of file <fileName> for dropped container, file could not be removed <value>.XSDF6Cannot find the allocation page <page>.XSDF7Newly created page failed to be latched <value>XSDF8Cannot find page <page> to reuse.XSDFBOperation not supported by a read only databaseXSDFDDifferent page image read on 2 I/Os on Page <page>, first image has incorrect checksum, second image has correct checksum. Page images follows: <value><value>XSDFFThe requested operation failed due to an unexpected exception.XSDFHCannot backup the database, got an I/O Exception while writing to the backup container file <fileName>.XSDFIError encountered while trying to write data to disk during database recovery. Check that the database disk is not full. If it is then delete unnecessary files, and retry connecting to the database. It is also possible that the file system is read only, or the disk has failed, or some other problem with the media. System encountered error while processing page <page>.
Class XSDG: RawStore - Data.Filesystem databaseSQLSTATEMessage TextXSDG0Page <page> could not be read from disk.XSDG1Page <page> could not be written to disk, please check if disk is full.XSDG2Invalid checksum on Page <page>, expected=<value>, on-disk version=<value>, page dump follows: <value>XSDG3Meta-data for Container <containerName> could not be accessedXSDG5Database is not in create mode when createFinished is called.XSDG6Data segment directory not found in <value> backup during restore. Please make sure that backup copy is the right one and it is not corrupted.XSDG7Directory <directoryName> could not be removed during restore. Please make sure that permissions are correct.XSDG8Unable to copy directory '<directoryName>' to '<value>' during restore. Please make sure that there is enough space and permissions are correct.
Class XSLA: RawStore - Log.Generic database exceptionsSQLSTATEMessage TextXSLA0Cannot flush the log file to disk <value>.XSLA1Log Record has been sent to the stream, but it cannot be applied to the store (Object <object>). This may cause recovery problems also.XSLA2System will shutdown, got I/O Exception while accessing log file.XSLA3Log Corrupted, has invalid data in the log stream.XSLA4Cannot write to the log, most likely the log is full. Please delete unnecessary files. It is also possible that the file system is read only, or the disk has failed, or some other problems with the media. XSLA5Cannot read log stream for some reason to rollback transaction <transactionID>.XSLA6Cannot recover the database.XSLA7Cannot redo operation <operation> in the log.XSLA8Cannot rollback transaction <value>, trying to compensate <value> operation with <value>XSLAAThe store has been marked for shutdown by an earlier exception.XSLABCannot find log file <logfileName>, please make sure your logDevice property is properly set with the correct path separator for your platform.XSLACDatabase at <value> have incompatible format with the current version of software, it may have been created by or upgraded by a later version.XSLADlog Record at instant <value> in log file <value> corrupted. Expected log record length <value>, real length <logfileName>.XSLAEControl file at <value> cannot be written or updated.XSLAFA Read Only database was created with dirty data buffers.XSLAHA Read Only database is being updated.XSLAICannot log the checkpoint log recordXSLAJThe logging system has been marked to shut down due to an earlier problem and will not allow any more operations until the system shuts down and restarts.XSLAKDatabase has exceeded largest log file number <value>.XSLALlog record size <logfileName> exceeded the maximum allowable log file size <value>. Error encountered in log file <value>, position <number>.XSLAMCannot verify database format at {1} due to IOException.XSLANDatabase at <value> has an incompatible format with the current version of the software. The database was created by or upgraded by version <versionNumber>.XSLAORecovery failed unexpected problem <value>.XSLAPDatabase at <value> is at version <versionNumber>. Beta databases cannot be upgraded,XSLAQcannot create log file at directory <directoryName>.XSLARUnable to copy log file '<logfileName>' to '<value>' during restore. Please make sure that there is enough space and permissions are correct. XSLASLog directory <directoryName> not found in backup during restore. Please make sure that backup copy is the correct one and it is not corrupted.XSLATThe log directory '<directoryName>' exists. The directory might belong to another database. Check that the location specified for the logDevice attribute is correct.
Class XSLB: RawStore - Log.Generic statement exceptionsSQLSTATEMessage TextXSLB1Log operation <logOperation> encounters error writing itself out to the log stream, this could be caused by an errant log operation or internal log buffer full due to excessively large log operation.XSLB2Log operation <logOperation> logging excessive data, it filled up the internal log buffer.XSLB4Cannot find truncationLWM <value>.XSLB5Illegal truncationLWM instant <value> for truncation point <value>. Legal range is from <value> to <value>.XSLB6Trying to log a 0 or -ve length log Record.XSLB8Trying to reset a scan to <value>, beyond its limit of <value>.XSLB9Cannot issue any more change, log factory has been stopped.
Class XSRS: RawStore - protocol.Interface statementSQLSTATEMessage TextXSRS0Cannot freeze the database after it is already frozen.XSRS1Cannot backup the database to <value>, which is not a directory.XSRS4Error renaming file (during backup) from <value> to <value>.XSRS5Error copying file (during backup) from <path> to <path>.XSRS6Cannot create backup directory <directoryName>.XSRS7Backup caught unexpected exception.XSRS8Log Device can only be set during database creation time, it cannot be changed on the fly.XSRS9Record <recordName> no longer existsXSRSACannot backup the database when unlogged operations are uncommitted. Please commit the transactions with backup blocking operations. XSRSBBackup cannot be performed in a transaction with uncommitted unlogged operations.XSRSCCannot backup the database to <directoryLocation>, it is a database directory.
Class XSTA2: XACT_TRANSACTION_ACTIVESQLSTATEMessage TextXSTA2A transaction was already active, when attempt was made to make another transaction active.
Class XSTB: RawStore - Transactions.Basic systemSQLSTATEMessage TextXSTB0An exception was thrown during transaction abort.XSTB2Cannot log transaction changes, maybe trying to write to a read only database.XSTB3Cannot abort transaction because the log manager is null, probably due to an earlier error.XSTB5Creating database with logging disabled encountered unexpected problem.XSTB6Cannot substitute a transaction table with another while one is already in use.
Class XXXXX: No SQLSTATESQLSTATEMessage TextXXXXXNormal database session close.