Enum defining status codes used by the C-Language API.
Enumerator |
---|
NUODB_NO_DATA | indicates when is is no more data
|
NUODB_SUCCESS | success
|
NUODB_SYNTAX_ERROR | SQL syntax error, Example: "wrong number of arguments for function".
|
NUODB_FEATURE_NOT_YET_IMPLEMENTED | Feature is not yet implemented.
|
NUODB_BUG_CHECK | An internal database error has occurred.
|
NUODB_COMPILE_ERROR | An error has occurred during compilation of the SQL statement, Example: "inconsistent select list in union branches".
|
NUODB_RUNTIME_ERROR | An error has occurred during execution of an SQL statement, Example: "ResultSet has been closed".
|
NUODB_OCS_ERROR | Unused.
|
NUODB_NETWORK_ERROR | A network communication has occurred, either with the Broker or TE, Example: "no nodes are available for database".
|
NUODB_CONVERSION_ERROR | An conversion error has occurred during execution of an SQL statement, Example: "Numeric overflow converting...".
|
NUODB_TRUNCATION_ERROR | A truncation error has occurred during execution of an SQL statement, Example: "Assignment of n bytes into type of maximum
length m".
|
NUODB_CONNECTION_ERROR | Error related to making an SQL connection or to an already existing SQL connection, Examples: "database already open", "bad statement handle".
|
NUODB_DDL_ERROR | A runtime error has occurred during execution of an SQL DDL statement, Example: "table already defined".
|
NUODB_APPLICATION_ERROR | An application specific error has occurred, Example: "Cannot
execute PreparedStatement with SQL parameter".
|
NUODB_SECURITY_ERROR | A database security error has occurred, such as bad credentials, Examples: "no username specified", "not a known user", "requested
access to foo is denied", "Unsupported cipher requested".
|
NUODB_DATABASE_CORRUPTION | Unused.
|
NUODB_VERSION_ERROR | Unused.
|
NUODB_LICENSE_ERROR | Unused.
|
NUODB_INTERNAL_ERROR | An internal error has occurred.
This should never happen. Examples: "function hasn't been compiled", "Unexpected NULL lower
bound node"
|
NUODB_DEBUG_ERROR | Unused.
|
NUODB_LOST_BLOB | Unused.
|
NUODB_INCONSISTENT_BLOB | Unused.
|
NUODB_DELETED_BLOB | Unused.
|
NUODB_LOG_ERROR | Unused.
|
NUODB_DATABASE_DAMAGED | Unused.
|
NUODB_UPDATE_CONFLICT | Server error has occurred, Example: "pending update
rejected, transaction nnn".
|
NUODB_NO_SUCH_TABLE | An invalid table reference has occurred, Examples: "Table has
been dropped", "Can't find table".
|
NUODB_INDEX_OVERFLOW | Unused.
|
NUODB_UNIQUE_DUPLICATE | Server error regarding duplicate values in a unique index".
|
NUODB_UNCOMMITTED_UPDATES | Unused.
|
NUODB_DEADLOCK | Server deadlock error.
|
NUODB_OUT_OF_MEMORY_ERROR | Unused.
|
NUODB_OUT_OF_RECORD_MEMORY_ERROR | Unused.
|
NUODB_LOCK_TIMEOUT | Statement timed out.
|
NUODB_PLATFORM_ERROR | Generic server error.
|
NUODB_NO_SCHEMA | An error occurred because no schema specified where schema is required.
|
NUODB_CONFIGURATION_ERROR | Server configuration error, Example: "Could not find a
valid archive at the given location".
|
NUODB_READ_ONLY_ERROR | An error occurred where an attempt was made to write to a read only connection.
|
NUODB_NO_GENERATED_KEYS | Unused.
|
NUODB_THROWN_EXCEPTION | This is used by the SQL THROW control statement.
|
NUODB_INVALID_TRANSACTION_ISOLATION | Unused.
|
NUODB_UNSUPPORTED_TRANSACTION_ISOLATION | An error occurred where the transaction level specified for connection is unsupported.
|
NUODB_INVALID_UTF8 | An error occurred where a string that is expected to be UTF-8 is not.
|
NUODB_CONSTRAINT_ERROR | A SQL constraint violation has occurred.
|
NUODB_UPDATE_ERROR | An attempt was made to update a database object that cannot be updated, Example: "Table returned by a stored procedure cannot be
manipulated".
|
NUODB_I18N_ERROR | An error having to do with Internationalization has occurred, Example: "Error getting default converter".
|
NUODB_OPERATION_KILLED | A SQL operation was killed, perhaps by the KILL STATEMENT command.
|
NUODB_INVALID_STATEMENT | An invalid reference to a SQL statement occurred, Example: "On connection n, Unable to kill statement m.
No such statement id"
|
NUODB_IS_SHUTDOWN | An error occurred because the database is shutting down.
|
NUODB_IN_QUOTED_STRING | An internal error generated by parser when the statement string ends within a quoted string = used by nuosql,.
|
NUODB_BATCH_UPDATE_ERROR | Catchall for Batch update exceptions.
|
NUODB_JAVA_ERROR | An error has occurred, related to Java stored procedures.
|
NUODB_INVALID_FIELD | A server error setting a value to an invalid field.
|
NUODB_INVALID_INDEX_NULL | An invalid null was inserted into index.
|
NUODB_INVALID_OPERATION | A generic error related to an invalid operation, Examples: "Maximum number of open result sets exceeded", "Maximum number of
open statements exceeded".
|
NUODB_INVALID_STATISTICS | Index statistics for a specified query have become invalid.
|
NUODB_INVALID_GENERATOR | Badly defined generator defined in older version of nuodb.
Need to ALTER TABLE to change the columns type to either INT, BIGINT, NUMERIC or STRING
|
NUODB_OPERATION_TIMEOUT | Query timeout period expired before a statement object executed.
Examples: Timeout of n micro second(s) exceeded", "Timeout of n second(s) exceeded"
|
NUODB_NO_SUCH_INDEX | An invalid index reference has occurred, Examples: "Index has
been dropped", "Can't index table".
|
NUODB_NO_SUCH_SEQUENCE | An invalid sequence reference has occurred, Examples: "Sequence has
been dropped", "Sequence doesn't exist".
|
NUODB_XAER_PROTO | An error with the XA protocol has occurred, Examples: "TransactionId already prepared".
|
NUODB_TRANSACTIONAL_LOCK_ERROR | *< An unknown error code
|
NUODB_TRANSACTION_UNKNOWN_STATE | *< An error occurred while acquiring a transactional lock
|
NUODB_INVALID_TIMEZONE_DISPLACEMENT_VALUE | *< An error occurred before the transaction successfully committed (for example: TE shutdown was initiated)
|
NUODB_INVALID_JSON_TEXT | *< The timezone is invalid
|
NUODB_SEQUENCE_GENERATE_LIMIT_EXCEEDED | *< An invalid json document or document path
|
NUODB_NO_SQL_JSON_ITEM | *< An error occurred during sequence value generation
|
NUODB_FINAL_ENUM_MEMBER_IS_UNUSED | *< No JSON item exists at path
|