Vertica 6.1.3 Error Code列表

最近升级Vertica到6.1.3,发现6.1.x文档里给的Error Code不全,或者也许没有更新,下面给出完整的JDBC的Error Code列表如下:

com/vertica/dsi/core/impl/JDBCMessages.properties

# Format is Key = (NativeErrorCode) Message. In all translations of this file, 
# the (NativeErrorCode) _MUST_ be unmodified and _MUST_ be included.
BATCH_NOT_EMPTY = (10000) Batch must either be executed with executeBatch() or cleared with clearBatch().
COLUMN_DISPLAY_OVERFLOW = (10020) Numeric overflow in column display size for size: {0}.
COMMIT_AUTOCOMMIT = (10040) Cannot use commit while Connection is in auto-commit mode.
CONNECTION_CLOSED = (10060) Connection has been closed.
CONNECTION_OPEN = (10080) Open connection was opened again by pool manager.
CONNECTION_REFUSED = (10100) Connection Refused: {0}
CONVERSION_ERROR_INPUT_PARAM = (10120) Error converting data, invalid type for parameter: {0}.
CONVERT_TO_ERR = (10140) Error converting value to {0}.
CONVERT_UTF_SUPPORT = (10160) Java does not support UTF-8 encoding.
CURSOR_AFTER_LAST_ROW = (10170) Error fetching data, cursor positioned after last row.
CURSOR_BEFORE_FIRST_ROW = (10180) Error fetching data, cursor positioned before first row.
DATA_TRUNCATED_ERR = (10200) String or binary data right truncation for column {0}.
DRIVER_NOT_CAPABLE = (10220) Driver not capable.
INITIALIZE_FACTORY = (10260) Null JDBC object factory has been returned. A valid JDBC object factory should be returned via createJDBCObjectFactory().
INTERVAL_FIELD_OVERFLOW = (10280) Interval field overflow.
INVALID_ACTION_ON_INSERT_ROW = (10300) Only updater, getter, and insertRow methods may be called when positioned on the insert row.
INVALID_ATTRIBUTE = (10320) Invalid custom attribute: {0}.
INVALID_COLUMN_INDEX = (10340) Invalid column index: {0}.
INVALID_COLUMN_NAME = (10360) Column name not found: {0}.
INVALID_COLUMN_SET_TYPE = (10380) Invalid column type for column: {0}.
INVALID_COLUMN_TYPE = (10400) Invalid type for data - column: {0}, type: {1}.
INVALID_CURSOR_TRANSITION = (10440) Invalid cursor transition: At last row with more rows left.
INVALID_FETCH_SIZE = (10460) Invalid fetch size: {0}. Valid size range: {1} to {2}.
INVALID_FIELD_SIZE = (10480) Invalid field size: {0}. Valid size range: {1} to {2}.
INVALID_FORWARDONLY_ACTION = (10500) Invalid operation for forward only ResultSets.
INVALID_GET_UPDATE_STREAM = (10520) Invalid action, columns updated as streams may not be fetched while before insertRow() or updateRow().
INVALID_INTERVAL_DATA_TYPE = (10540) Invalid Interval data type.
INVALID_INTERVAL_DAY_FORMAT = (10560) Invalid day interval format: "{0}". The value should be in the format of "DD".
INVALID_INTERVAL_DAY_HOUR_FORMAT = (10580) Invalid day to hour interval format: "{0}". The value should be in the format of "DD HH".
INVALID_INTERVAL_DAY_MINUTE_FORMAT = (10600) Invalid day to minute interval format: "{0}". The value should be in the format of "DD HH:mm".
INVALID_INTERVAL_DAY_SECOND_FORMAT = (10620) Invalid day to second interval format: "{0}". The value should be in the format of "DD HH:mm:SS[.fffffffff]".
INVALID_INTERVAL_HOUR_FORMAT = (10640) Invalid hour interval format: "{0}". The value should be in the format of "HH".
INVALID_INTERVAL_HOUR_MINUTE_FORMAT = (10660) Invalid hour to minute interval format: "{0}". The value should be in the format of "HH:mm".
INVALID_INTERVAL_HOUR_SECOND_FORMAT = (10680) Invalid hour to second interval format: "{0}". The value should be in the format of "HH:mm:SS[.fffffffff]".
INVALID_INTERVAL_MINUTE_FORMAT = (10700) Invalid minute interval format: "{0}". The value should be in the format of "mm".
INVALID_INTERVAL_MINUTE_SECOND_FORMAT = (10720) Invalid minute to second interval format: "{0}". The value should be in the format of "mm:SS[.fffffffff]".
INVALID_INTERVAL_MONTH_FORMAT = (10740) Invalid month interval format: "{0}". The value should be in the format of "MM".
INVALID_INTERVAL_SECOND_FORMAT = (10760) Invalid second interval format: "{0}". The value should be in the format of "SS[.fffffffff]".
INVALID_INTERVAL_YEAR_FORMAT = (10780) Invalid year interval format: "{0}". The value should be in the format of 'YYYY'.
INVALID_INTERVAL_YEAR_MONTH_FORMAT = (10800) Invalid year to month interval format: "{0}". The value should be in the format of "YYYY-MM".
INVALID_MORERESULTS_VALUE = (10820) Invalid value passed to getMoreResults(): "{0}".
INVALID_NULL_INSERT = (10840) Null value can not be inserted into column {0}, it is marked non-nullable.
INVALID_NULL_UPDATE = (10860) Null value can not be set for column {0}, it is marked non-nullable.
INVALID_NUMBER_METADATA = (10880) Zero or multiple results created when fetching metadata.
INVALID_NUMBER_PARAMS = (10900) Not all parameters have been populated.
INVALID_OUTPUT_INDEX = (10920) No output value found for parameter index: {0}.
INVALID_PARAM_INDEX = (10940) Invalid parameter index: {0}.
INVALID_PARAM_INPUT_ONLY = (10960) Invalid parameter type for parameter: {0}. Only input parameters allowed for PreparedStatement.
INVALID_PARAM_NAME = (10980) Parameter name not found: {0}.
INVALID_PARAM_OBJECT = (11000) Invalid object for parameter: {0}.
INVALID_PARAM_SET_TYPE = (11020) Invalid parameter type for parameter: {0}.
INVALID_PARAM_TYPE = (11040) Invalid type for data - parameter: {0}, type: {1}.
INVALID_READONLY_ACTION = (11060) Invalid operation for read-only ResultSets.
INVALID_REGISTER_TYPE = (11080) Cannot register input parameter: {0}.
INVALID_RETRIEVE_TYPE = (11100) Parameter {0} is an input parameter.
INVALID_MAX_ROW = (11120) Invalid maximum row size: {0}. Valid range: {1} to {2}.
INVALID_SAVEPOINT = (11140) Invalid Savepoint. The Savepoint must be created from the connection it is used on, and within the transaction it was created it.
INVALID_SCALE = (11160) Invalid scale: {0}. Minimum value: {1}.
INVALID_SET_TYPE = (11180) Cannot set output parameter: {0}.
INVALID_STMT_ACTION = (11200) Invalid operation for this statement object.
INVALID_STMT_PARAM = (11220) Parameters cannot be used with normal Statement objects, use PreparedStatements instead.
INVALID_TIMEOUT = (11240) Invalid timeout: {0}. Valid timeout range: {1} to {2}.
INVALID_URL = (11260) Invalid connection URL.
INVALID_VERSION = (11280) Invalid version returned: {0}.
LICENSE_EXPIRED = (11285) License file "{0}" is expired.
LICENSE_FILE_CORRUPTED = (11286) License file "{0}" is corrupt.
LICENSE_READ_ERROR = (11286) Error reading license file "{0}". Please verify that the file exists and permissions have been granted for it.
NO_RESULTSET_GENERATED = (11300) A ResultSet was expected but not generated from query "{0}". Query not executed. 
NO_ROWCOUNT_GENERATED = (11320) A RowCount was expected but not generated from query "{0}". Query not executed. 
NOT_OUTPUT_REGISTERED = (11340) Not all output parameters are registered.
NULL_CALENDAR_PARAM = (11360) Invalid data given for calendar.
NULL_ERROR = (11380) Null pointer exception.
NULL_METADATA_COLUMNMAP = (11400) Null metadata column mapping info.
NULL_PARAM_METADATA = (11420) Error, parameter metadata not populated.
NULL_SQL_STRING = (11440) Null SQL string passed for execution.
ONE_RESULT_NOT_RETURNED = (11460) Exactly one result expected, but {0} results created from query "{1}". Query not executed.
OPTIONAL_KEYS_MSG = (11480) Optional Connection Key(s)
PARAM_OBJECT_MISMATCH = (11500) Given type does not match given object: {0}.
PARAM_NOT_NULLABLE = (11520) Parameter {0} is not nullable.
PROCESSED_KEYS_MSG = (11540) Processed Connection Key(s)
REGISTER_DRIVER = (11560) A database access error occurred while registering the driver.
RESULT_DELETE_NOT_SUPPORTED = (11580) Deletes are not supported for read-write result sets.
RESULT_INSERT_NOT_SUPPORTED = (11600) Inserts are not supported for read-write result sets.
RESULT_UPDATE_NOT_SUPPORTED = (11620) Updates are not supported for read-write result sets.
REQUIRED_KEYS_MSG = (11640) Required Connection Key(s)
RESULTSET_RETURNED = (11660) Query returns a ResultSet when a row count is expected.
ROLLBACK_AUTOCOMMIT = (11680) Cannot use rollback while Connection is in auto-commit mode.
SAVEPOINT_AUTOCOMMIT = (11700) Cannot set Savepoint while Connection is in auto-commit mode.
SAVEPOINT_ID_FROM_NAMED = (11720) Cannot retrieve numeric ID from named Savepoint.
SAVEPOINT_NAMED_FROM_ID = (11740) Cannot retrieve name from unnamed Savepoint.
SETREADONLY_IN_TRANSACTION = (11760) Cannot call setReadOnly while Connection is in a transaction.
TRANSACTION_ALREADY_STARTED = (11780) Transaction already started.
TRANSACTION_CALLBACKS_NOT_ALLOWED = (11800) Transaction callbacks are not allowed during explicit JDBC API transaction calls.
UNKNOWN_CURSOR_POSITION = (11820) Unknown cursor position: {0}.
UNKNOWN_DATA_TYPE = (11840) Unknown data type: {0}.
UNKNOWN_FETCH_DIRECTION = (11860) Unknown fetch direction: {0}.
UNKNOWN_HOLDABILITY = (11880) Unknown ResultSet holdability: {0}.
UNKNOWN_ISOLATION = (11900) Unknown transaction isolation level: {0}.
UNKNOWN_METADATA_TYPE = (11920) Unknown metadata type: {0}.
UNKNOWN_SCOPE = (11940) Unknown scope: {0}.
UNKNOWN_SQLSTATE_TYPE = (11960) Unknown SQLState type: {0}.
UNSUPPORTED_HOLDABILITY = (11970) Unsupported holdability: {0}.
UNSUPPORTED_TXN_ISOLATION = (11975) Unsupported transaction isolation level: {0}.

DBMETA_CLOSED = (11980) DatabaseMetaData object has been closed.
PARAMMETA_CLOSED = (12000) ParameterMetaData object has been closed.
PARENT_CLOSED = (12020) Parent has been closed, object is invalid.
RESULTMETA_CLOSED = (12040) ResultSetMetaData object has been closed.
RESULTSET_CLOSED = (12060) ResultSet object has been closed.
STATEMENT_CLOSED = (12080) Statement object has been closed.

STREAM_CLOSED = (12100) Stream closed, invalid action.
STREAM_CORRUPT_UTF = (12120) Corrupt UTF byte value.
STREAM_EMPTY = (12140) No more data to be read from stream.
STREAM_INVALID_BUFFER = (12160) Invalid character buffer: null.
STREAM_INVALID_OFFSET = (12180) Invalid offset: {0}. Values can be between 0 and {1}.
STREAM_READ_ERROR = (12200) Error reading data from data source: {0}
STREAM_UNEXPECTED_END = (12220) Unexpected end of stream reached.

WARN_DDL_IGNORED = (12240) DDL statement in transaction was ignored because SQL_TXN_CAPABLE is SQL_TC_DDL_IGNORE.
WARN_DDL_FORCE_COMMIT = (12260) DDL statement forced transaction to commit because SQL_TXN_CAPABLE is SQL_TC_DDL_COMMIT.
WARN_FRACTIONAL_TRUNC = (12280) Fractional truncation of numeric.



你可能感兴趣的:(Vertica 6.1.3 Error Code列表)