SQL-xxxxx Error Message Reference

When the Core SQL package encounters error conditions, it will raise SQLExceptions, which can be either native exceptions created by the underlying database engine, or an exception containing one of the error codes detailed in this page.

Error codes starting not with "SQL-", but with other characters such as "OC-" or "ADM-" are not created by the Core SQL package, but by other parts of OpenCabinet. Please refer to that module's documentation.

SQL-00001

Table "X" not found in the database

SQL-00002

The table "X" does not have a primary key

SQL-00003

The primary key for "X" has Y columns, you gave me Z

SQL-00004

Could not convert "X" from "Y" to an Integer

SQL-00005

Query returned more than one result row: X

SQL-00006

Connection must not be in auto-commit mode when applying a changeset

SQL-00007

No history table is registered for "X"

SQL-00008

Invalid JDBC type name "X"

SQL-00009

Conflicting update for row "X" in table "Y" at revision Z

SQL-00010

Trying to update or delete non-existing row "X" in table "Y" at revision Z

SQL-00011

Unsupported locking strategy "X"

SQL-00012

Not connected to the database

SQL-00013

CLOB "X" is too long (Y characters)

SQL-00014

BLOB "X" is too long (Y bytes)

SQL-00015

Failed to start transaction when applying a changeset: X

SQL-00016

Insert into "Y" conflicts with existing row "X" at revision Z

SQL-00017

Failed to obtain row lock, could be a conflicting update for "X" in table "Y" after revision Z

SQL-00018

Failed to create a JDBC DataSource: could not find the template "X"

SQL-00019

Invalid value for "jdbc.classpath": X

SQL-00020

Failed to create a JDBC DataSource: could not parse the template

SQL-00021

Failed to create a JDBC DataSource: missing property "X"

SQL-00022

Failed to create a JDBC DataSource: classloader base class "X" not found