DEFINE_ORACLE_ERROR(OB_ERR_CASCADE_CONSTRAINTS_MUST_BE_SPECIFIED_TO_PERFORM_THIS_REVOKE, -5383, -1, "HY000", "CASCADE CONSTRAINTS must be specified to perform this revoke", 1981, "CASCADE CONSTRAINTS must be specified to perform this revoke");
DEFINE_ORACLE_ERROR(OB_ERR_YOU_MAY_NOT_REVOKE_PRIVILEGES_FROM_YOURSELF, -5384, -1, "HY000", "you may not GRANT/REVOKE privileges to/from yourself", 1749, "you may not GRANT/REVOKE privileges to/from yourself");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_TEXT_IN_PARAM, -5412, ER_INVALID_JSON_TEXT_IN_PARAM, "22032", "Invalid JSON text in argument.", "Invalid JSON text in argument.", 600, "Invalid JSON text in argument.", "Invalid JSON text in argument.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_BINARY_DATA, -5413, ER_INVALID_JSON_BINARY_DATA, "42000", "The JSON binary value contains invalid data.", "The JSON binary value contains invalid data.", 600, "The JSON binary value contains invalid data.", "The JSON binary value contains invalid data.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_CHARSET, -5415, ER_INVALID_JSON_CHARSET, "22032", "Cannot create a JSON value from a string.", "Cannot create a JSON value from a string.", 600, "Cannot create a JSON value from a string.", "Cannot create a JSON value from a string.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_CHARSET_IN_FUNCTION, -5416, ER_INVALID_JSON_CHARSET_IN_FUNCTION, "22032", "Invalid JSON character data provided to function.", "Invalid JSON character data provided to function.", 600, "Invalid JSON character data provided to function.", "Invalid JSON character data provided to function.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_TYPE_FOR_JSON, -5417, ER_INVALID_TYPE_FOR_JSON, "22032", "Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required.", "Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required.", 600, "Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required.", "Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_CAST_TO_JSON, -5418, ER_INVALID_CAST_TO_JSON, "22032", "Cannot CAST value to JSON.", "Cannot CAST value to JSON.", 600, "Cannot CAST value to JSON.", "Cannot CAST value to JSON.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_PATH_CHARSET, -5419, ER_INVALID_JSON_PATH_CHARSET, "42000", "A path expression must be encoded in the utf8 character set.", "A path expression must be encoded in the utf8 character set.", 600, "A path expression must be encoded in the utf8 character set.", "A path expression must be encoded in the utf8 character set.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_PATH_WILDCARD, -5420, ER_INVALID_JSON_PATH_WILDCARD, "42000", "In this situation, path expressions may not contain the * and ** tokens.", "In this situation, path expressions may not contain the * and ** tokens.", 600, "In this situation, path expressions may not contain the * and ** tokens.", "In this situation, path expressions may not contain the * and ** tokens.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_VALUE_TOO_BIG, -5421, ER_JSON_VALUE_TOO_BIG, "22032", "The JSON value is too big to be stored in a JSON column.", "The JSON value is too big to be stored in a JSON column.", 600, "The JSON value is too big to be stored in a JSON column.", "The JSON value is too big to be stored in a JSON column.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_KEY_TOO_BIG, -5422, ER_JSON_KEY_TOO_BIG, "22032", "The JSON object contains a key name that is too long.", "The JSON object contains a key name that is too long.", 600, "The JSON object contains a key name that is too long.", "The JSON object contains a key name that is too long.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_USED_AS_KEY, -5423, ER_JSON_USED_AS_KEY, "42000", "JSON column cannot be used in key specification.", "JSON column '%.*s' cannot be used in key specification.", 600, "JSON column cannot be used in key specification.", "JSON column '%.*s' cannot be used in key specification.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_VACUOUS_PATH, -5424, ER_JSON_VACUOUS_PATH, "42000", "The path expression is not allowed in this context.", "The path expression is not allowed in this context.", 600, "The path expression is not allowed in this context.", "The path expression is not allowed in this context.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_BAD_ONE_OR_ALL_ARG, -5425, ER_JSON_BAD_ONE_OR_ALL_ARG, "42000", "The oneOrAll argument may take these values: \'one\' or \'all\'.", "The oneOrAll argument may take these values: \'one\' or \'all\'.", 600, "The oneOrAll argument may take these values: \'one\' or \'all\'.", "The oneOrAll argument may take these values: \'one\' or \'all\'.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_NUMERIC_JSON_VALUE_OUT_OF_RANGE, -5426, ER_NUMERIC_JSON_VALUE_OUT_OF_RANGE, "22003", "Out of range JSON value for CAST", "Out of range JSON value for CAST", 600, "Out of range JSON value for CAST", "Out of range JSON value for CAST");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_VALUE_FOR_CAST, -5427, ER_INVALID_JSON_VALUE_FOR_CAST, "22018", "Invalid JSON value for CAST", "Invalid JSON value for CAST", 600, "Invalid JSON value for CAST", "Invalid JSON value for CAST");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_OUT_OF_DEPTH, -5428, ER_JSON_DOCUMENT_TOO_DEEP, "22032", "The JSON document exceeds the maximum depth.", "The JSON document exceeds the maximum depth.", 600, "The JSON document exceeds the maximum depth.", "The JSON document exceeds the maximum depth.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_DOCUMENT_NULL_KEY, -5429, ER_JSON_DOCUMENT_NULL_KEY, "22032", "JSON documents may not contain NULL member names.", "JSON documents may not contain NULL member names.", 600, "JSON documents may not contain NULL member names.", "JSON documents may not contain NULL member names.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_BLOB_CANT_HAVE_DEFAULT, -5430, ER_BLOB_CANT_HAVE_DEFAULT, "42000", "BLOB, TEXT, GEOMETRY or JSON column can't have a default value", "BLOB, TEXT, GEOMETRY or JSON column '%.*s' can't have a default value", 600, "Invalid default value", "Invalid default value for \'%.*s\'");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_PATH_ARRAY_CELL, -5431, ER_INVALID_JSON_PATH_ARRAY_CELL, "42000", "A path expression is not a path to a cell in an array", "A path expression is not a path to a cell in an array", 600, "A path expression is not a path to a cell in an array", "A path expression is not a path to a cell in an array");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_MISSING_JSON_VALUE, -5432, ER_MISSING_JSON_VALUE, "22035", "No value was found by '%.*s' on the specified path.", "No value was found by '%.192s' on the specified path.", 600, "No value was found by '%.192s' on the specified path.", "No value was found by '%.192s' on the specified path.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_MULTIPLE_JSON_VALUES, -5433, ER_MULTIPLE_JSON_VALUES, "22034", "More than one value was found by '%.*s' on the specified path.", "More than one value was found by '%.192s' on the specified path.", 600, "More than one value was found by '%.192s' on the specified path.", "More than one value was found by '%.192s' on the specified path.");
DEFINE_ERROR_EXT(OB_ERR_SP_DOES_NOT_EXIST, -5542, ER_SP_DOES_NOT_EXIST, "42000", "procedure/function does not exist", "%s %.*s.%.*s does not exist");
DEFINE_PLS_ERROR_EXT(OB_ERR_SP_UNDECLARED_VAR, -5543, ER_SP_UNDECLARED_VAR, "42000", "Undeclared variable", "Undeclared variable: %.*s", 201, "identifier must be declared", "identifier '%.*s' must be declared");
DEFINE_ERROR_EXT(OB_ERR_INCORRECT_VALUE_FOR_FUNCTION, -5936, ER_WRONG_VALUE_FOR_TYPE, "HY000", "Incorrect value for function", "Incorrect %.*s value: '%.*s' for function %.*s");
DEFINE_ERROR_EXT(OB_ERR_USER_EXCEED_RESOURCE, -5967, 1226, "42000", "User has exceeded the resource", "User '%.*s' has exceeded the '%s' resource (current value: %lu)");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_TEXT_IN_PARAM, -5974, ER_INVALID_JSON_TEXT_IN_PARAM, "22032", "Invalid JSON text in argument.", "Invalid JSON text in argument.", 600, "Invalid JSON text in argument.", "Invalid JSON text in argument.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_BINARY_DATA, -5977, ER_INVALID_JSON_BINARY_DATA, "42000", "The JSON binary value contains invalid data.", "The JSON binary value contains invalid data.", 600, "The JSON binary value contains invalid data.", "The JSON binary value contains invalid data.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_CHARSET, -5979, ER_INVALID_JSON_CHARSET, "22032", "Cannot create a JSON value from a string.", "Cannot create a JSON value from a string.", 600, "Cannot create a JSON value from a string.", "Cannot create a JSON value from a string.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_CHARSET_IN_FUNCTION, -5980, ER_INVALID_JSON_CHARSET_IN_FUNCTION, "22032", "Invalid JSON character data provided to function.", "Invalid JSON character data provided to function.", 600, "Invalid JSON character data provided to function.", "Invalid JSON character data provided to function.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_TYPE_FOR_JSON, -5981, ER_INVALID_TYPE_FOR_JSON, "22032", "Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required.", "Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required.", 600, "Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required.", "Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_CAST_TO_JSON, -5982, ER_INVALID_CAST_TO_JSON, "22032", "Cannot CAST value to JSON.", "Cannot CAST value to JSON.", 600, "Cannot CAST value to JSON.", "Cannot CAST value to JSON.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_PATH_CHARSET, -5983, ER_INVALID_JSON_PATH_CHARSET, "42000", "A path expression must be encoded in the utf8 character set.", "A path expression must be encoded in the utf8 character set.", 600, "A path expression must be encoded in the utf8 character set.", "A path expression must be encoded in the utf8 character set.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_PATH_WILDCARD, -5984, ER_INVALID_JSON_PATH_WILDCARD, "42000", "In this situation, path expressions may not contain the * and ** tokens.", "In this situation, path expressions may not contain the * and ** tokens.", 600, "In this situation, path expressions may not contain the * and ** tokens.", "In this situation, path expressions may not contain the * and ** tokens.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_VALUE_TOO_BIG, -5985, ER_JSON_VALUE_TOO_BIG, "22032", "The JSON value is too big to be stored in a JSON column.", "The JSON value is too big to be stored in a JSON column.", 600, "The JSON value is too big to be stored in a JSON column.", "The JSON value is too big to be stored in a JSON column.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_KEY_TOO_BIG, -5986, ER_JSON_KEY_TOO_BIG, "22032", "The JSON object contains a key name that is too long.", "The JSON object contains a key name that is too long.", 600, "The JSON object contains a key name that is too long.", "The JSON object contains a key name that is too long.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_USED_AS_KEY, -5987, ER_JSON_USED_AS_KEY, "42000", "JSON column cannot be used in key specification.", "JSON column '%.*s' cannot be used in key specification.", 600, "JSON column cannot be used in key specification.", "JSON column '%.*s' cannot be used in key specification.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_VACUOUS_PATH, -5988, ER_JSON_VACUOUS_PATH, "42000", "The path expression is not allowed in this context.", "The path expression is not allowed in this context.", 600, "The path expression is not allowed in this context.", "The path expression is not allowed in this context.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_BAD_ONE_OR_ALL_ARG, -5989, ER_JSON_BAD_ONE_OR_ALL_ARG, "42000", "The oneOrAll argument may take these values: \'one\' or \'all\'.", "The oneOrAll argument may take these values: \'one\' or \'all\'.", 600, "The oneOrAll argument may take these values: \'one\' or \'all\'.", "The oneOrAll argument may take these values: \'one\' or \'all\'.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_NUMERIC_JSON_VALUE_OUT_OF_RANGE, -5990, ER_NUMERIC_JSON_VALUE_OUT_OF_RANGE, "22003", "Out of range JSON value for CAST", "Out of range JSON value for CAST", 600, "Out of range JSON value for CAST", "Out of range JSON value for CAST");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_VALUE_FOR_CAST, -5991, ER_INVALID_JSON_VALUE_FOR_CAST, "22018", "Invalid JSON value for CAST", "Invalid JSON value for CAST", 600, "Invalid JSON value for CAST", "Invalid JSON value for CAST");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_OUT_OF_DEPTH, -5992, ER_JSON_DOCUMENT_TOO_DEEP, "22032", "The JSON document exceeds the maximum depth.", "The JSON document exceeds the maximum depth.", 600, "The JSON document exceeds the maximum depth.", "The JSON document exceeds the maximum depth.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_JSON_DOCUMENT_NULL_KEY, -5993, ER_JSON_DOCUMENT_NULL_KEY, "22032", "JSON documents may not contain NULL member names.", "JSON documents may not contain NULL member names.", 600, "JSON documents may not contain NULL member names.", "JSON documents may not contain NULL member names.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_BLOB_CANT_HAVE_DEFAULT, -5994, ER_BLOB_CANT_HAVE_DEFAULT, "42000", "BLOB, TEXT, GEOMETRY or JSON column can't have a default value", "BLOB, TEXT, GEOMETRY or JSON column '%.*s' can't have a default value", 600, "Invalid default value", "Invalid default value for \'%.*s\'");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_JSON_PATH_ARRAY_CELL, -5995, ER_INVALID_JSON_PATH_ARRAY_CELL, "42000", "A path expression is not a path to a cell in an array", "A path expression is not a path to a cell in an array", 600, "A path expression is not a path to a cell in an array", "A path expression is not a path to a cell in an array");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_MISSING_JSON_VALUE, -5996, ER_MISSING_JSON_VALUE, "22035", "No value was found by '%.*s' on the specified path.", "No value was found by '%.192s' on the specified path.", 600, "No value was found by '%.192s' on the specified path.", "No value was found by '%.192s' on the specified path.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_MULTIPLE_JSON_VALUES, -5997, ER_MULTIPLE_JSON_VALUES, "22034", "More than one value was found by '%.*s' on the specified path.", "More than one value was found by '%.192s' on the specified path.", 600, "More than one value was found by '%.192s' on the specified path.", "More than one value was found by '%.192s' on the specified path.");
DEFINE_ERROR_EXT(OB_ERR_WINDOW_ROWS_INTERVAL_USE, -5983, ER_WINDOW_ROWS_INTERVAL_USE, "HY000", "Window '<unnamed window>': INTERVAL can only be used with RANGE frames.", "Window '%s': INTERVAL can only be used with RANGE frames.");
DEFINE_ERROR_EXT(OB_ERR_WINDOW_RANGE_FRAME_ORDER_TYPE, -5984, ER_WINDOW_RANGE_FRAME_ORDER_TYPE, "HY000", "Window '<unnamed window>' with RANGE N PRECEDING/FOLLOWING frame requires exactly one ORDER BY expression of numeric or temporal type", "Window '%s' with RANGE N PRECEDING/FOLLOWING frame requires exactly one ORDER BY expression of numeric or temporal type");
DEFINE_ERROR_EXT(OB_ERR_WINDOW_ILLEGAL_ORDER_BY, -5985, ER_WINDOW_ILLEGAL_ORDER_BY, "HY000", "Window '<unnamed window>': ORDER BY or PARTITION BY uses legacy position indication which is not supported, use expression.", "Window '%s': ORDER BY or PARTITION BY uses legacy position indication which is not supported, use expression.");
@@ -2067,6 +2070,29 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
#define OB_ERR_CANNOT_GRANT_STRING_TO_A_ROLE__USER_ERROR_MSG "cannot grant %.*s to a role"
#define OB_ERR_CASCADE_CONSTRAINTS_MUST_BE_SPECIFIED_TO_PERFORM_THIS_REVOKE__USER_ERROR_MSG "CASCADE CONSTRAINTS must be specified to perform this revoke"
#define OB_ERR_YOU_MAY_NOT_REVOKE_PRIVILEGES_FROM_YOURSELF__USER_ERROR_MSG "you may not GRANT/REVOKE privileges to/from yourself"
#define OB_ERR_INVALID_JSON_CHARSET__USER_ERROR_MSG "Cannot create a JSON value from a string."
#define OB_ERR_INVALID_JSON_CHARSET_IN_FUNCTION__USER_ERROR_MSG "Invalid JSON character data provided to function."
#define OB_ERR_INVALID_TYPE_FOR_JSON__USER_ERROR_MSG "Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required."
#define OB_ERR_INVALID_CAST_TO_JSON__USER_ERROR_MSG "Cannot CAST value to JSON."
#define OB_ERR_INVALID_JSON_PATH_CHARSET__USER_ERROR_MSG "A path expression must be encoded in the utf8 character set."
#define OB_ERR_INVALID_JSON_PATH_WILDCARD__USER_ERROR_MSG "In this situation, path expressions may not contain the * and ** tokens."
#define OB_ERR_JSON_VALUE_TOO_BIG__USER_ERROR_MSG "The JSON value is too big to be stored in a JSON column."
#define OB_ERR_JSON_KEY_TOO_BIG__USER_ERROR_MSG "The JSON object contains a key name that is too long."
#define OB_ERR_JSON_USED_AS_KEY__USER_ERROR_MSG "JSON column '%.*s' cannot be used in key specification."
#define OB_ERR_JSON_VACUOUS_PATH__USER_ERROR_MSG "The path expression is not allowed in this context."
#define OB_ERR_JSON_BAD_ONE_OR_ALL_ARG__USER_ERROR_MSG "The oneOrAll argument may take these values: \'one\' or \'all\'."
#define OB_ERR_NUMERIC_JSON_VALUE_OUT_OF_RANGE__USER_ERROR_MSG "Out of range JSON value for CAST"
#define OB_ERR_INVALID_JSON_VALUE_FOR_CAST__USER_ERROR_MSG "Invalid JSON value for CAST"
#define OB_ERR_JSON_OUT_OF_DEPTH__USER_ERROR_MSG "The JSON document exceeds the maximum depth."
#define OB_ERR_JSON_DOCUMENT_NULL_KEY__USER_ERROR_MSG "JSON documents may not contain NULL member names."
#define OB_ERR_BLOB_CANT_HAVE_DEFAULT__USER_ERROR_MSG "BLOB, TEXT, GEOMETRY or JSON column '%.*s' can't have a default value"
#define OB_ERR_INVALID_JSON_PATH_ARRAY_CELL__USER_ERROR_MSG "A path expression is not a path to a cell in an array"
#define OB_ERR_MISSING_JSON_VALUE__USER_ERROR_MSG "No value was found by '%.192s' on the specified path."
#define OB_ERR_MULTIPLE_JSON_VALUES__USER_ERROR_MSG "More than one value was found by '%.192s' on the specified path."
@@ -2448,29 +2474,9 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
#define OB_ERR_INCORRECT_VALUE_FOR_FUNCTION__USER_ERROR_MSG "Incorrect %.*s value: '%.*s' for function %.*s"
#define OB_ERR_USER_EXCEED_RESOURCE__USER_ERROR_MSG "User '%.*s' has exceeded the '%s' resource (current value: %lu)"
#define OB_ERR_CTE_NEED_QUERY_BLOCKS__USER_ERROR_MSG "Recursive Common Table Expression should have one or more non-recursive query blocks followed by one or more recursive ones: %s"
#define OB_ERR_INVALID_JSON_CHARSET__USER_ERROR_MSG "Cannot create a JSON value from a string."
#define OB_ERR_INVALID_JSON_CHARSET_IN_FUNCTION__USER_ERROR_MSG "Invalid JSON character data provided to function."
#define OB_ERR_INVALID_TYPE_FOR_JSON__USER_ERROR_MSG "Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required."
#define OB_ERR_INVALID_CAST_TO_JSON__USER_ERROR_MSG "Cannot CAST value to JSON."
#define OB_ERR_INVALID_JSON_PATH_CHARSET__USER_ERROR_MSG "A path expression must be encoded in the utf8 character set."
#define OB_ERR_INVALID_JSON_PATH_WILDCARD__USER_ERROR_MSG "In this situation, path expressions may not contain the * and ** tokens."
#define OB_ERR_JSON_VALUE_TOO_BIG__USER_ERROR_MSG "The JSON value is too big to be stored in a JSON column."
#define OB_ERR_JSON_KEY_TOO_BIG__USER_ERROR_MSG "The JSON object contains a key name that is too long."
#define OB_ERR_JSON_USED_AS_KEY__USER_ERROR_MSG "JSON column '%.*s' cannot be used in key specification."
#define OB_ERR_JSON_VACUOUS_PATH__USER_ERROR_MSG "The path expression is not allowed in this context."
#define OB_ERR_JSON_BAD_ONE_OR_ALL_ARG__USER_ERROR_MSG "The oneOrAll argument may take these values: \'one\' or \'all\'."
#define OB_ERR_NUMERIC_JSON_VALUE_OUT_OF_RANGE__USER_ERROR_MSG "Out of range JSON value for CAST"
#define OB_ERR_INVALID_JSON_VALUE_FOR_CAST__USER_ERROR_MSG "Invalid JSON value for CAST"
#define OB_ERR_JSON_OUT_OF_DEPTH__USER_ERROR_MSG "The JSON document exceeds the maximum depth."
#define OB_ERR_JSON_DOCUMENT_NULL_KEY__USER_ERROR_MSG "JSON documents may not contain NULL member names."
#define OB_ERR_BLOB_CANT_HAVE_DEFAULT__USER_ERROR_MSG "BLOB, TEXT, GEOMETRY or JSON column '%.*s' can't have a default value"
#define OB_ERR_INVALID_JSON_PATH_ARRAY_CELL__USER_ERROR_MSG "A path expression is not a path to a cell in an array"
#define OB_ERR_MISSING_JSON_VALUE__USER_ERROR_MSG "No value was found by '%.192s' on the specified path."
#define OB_ERR_MULTIPLE_JSON_VALUES__USER_ERROR_MSG "More than one value was found by '%.192s' on the specified path."
#define OB_ERR_WINDOW_ROWS_INTERVAL_USE__USER_ERROR_MSG "Window '%s': INTERVAL can only be used with RANGE frames."
#define OB_ERR_WINDOW_RANGE_FRAME_ORDER_TYPE__USER_ERROR_MSG "Window '%s' with RANGE N PRECEDING/FOLLOWING frame requires exactly one ORDER BY expression of numeric or temporal type"
#define OB_ERR_WINDOW_ILLEGAL_ORDER_BY__USER_ERROR_MSG "Window '%s': ORDER BY or PARTITION BY uses legacy position indication which is not supported, use expression."
#define OB_TRANSACTION_SET_VIOLATION__USER_ERROR_MSG "Transaction set changed during the execution"
#define OB_TRANS_ROLLBACKED__USER_ERROR_MSG "transaction is rolled back"
@@ -3521,6 +3527,29 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
#define OB_ERR_CANNOT_GRANT_STRING_TO_A_ROLE__ORA_USER_ERROR_MSG "ORA-01931: cannot grant %.*s to a role"
#define OB_ERR_CASCADE_CONSTRAINTS_MUST_BE_SPECIFIED_TO_PERFORM_THIS_REVOKE__ORA_USER_ERROR_MSG "ORA-01981: CASCADE CONSTRAINTS must be specified to perform this revoke"
#define OB_ERR_YOU_MAY_NOT_REVOKE_PRIVILEGES_FROM_YOURSELF__ORA_USER_ERROR_MSG "ORA-01749: you may not GRANT/REVOKE privileges to/from yourself"
#define OB_ERR_INVALID_JSON_CHARSET__ORA_USER_ERROR_MSG "ORA-00600: Cannot create a JSON value from a string."
#define OB_ERR_INVALID_JSON_CHARSET_IN_FUNCTION__ORA_USER_ERROR_MSG "ORA-00600: Invalid JSON character data provided to function."
#define OB_ERR_INVALID_TYPE_FOR_JSON__ORA_USER_ERROR_MSG "ORA-00600: Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required."
#define OB_ERR_INVALID_CAST_TO_JSON__ORA_USER_ERROR_MSG "ORA-00600: Cannot CAST value to JSON."
#define OB_ERR_INVALID_JSON_PATH_CHARSET__ORA_USER_ERROR_MSG "ORA-00600: A path expression must be encoded in the utf8 character set."
#define OB_ERR_INVALID_JSON_PATH_WILDCARD__ORA_USER_ERROR_MSG "ORA-00600: In this situation, path expressions may not contain the * and ** tokens."
#define OB_ERR_JSON_VALUE_TOO_BIG__ORA_USER_ERROR_MSG "ORA-00600: The JSON value is too big to be stored in a JSON column."
#define OB_ERR_JSON_KEY_TOO_BIG__ORA_USER_ERROR_MSG "ORA-00600: The JSON object contains a key name that is too long."
#define OB_ERR_JSON_USED_AS_KEY__ORA_USER_ERROR_MSG "ORA-00600: JSON column '%.*s' cannot be used in key specification."
#define OB_ERR_JSON_VACUOUS_PATH__ORA_USER_ERROR_MSG "ORA-00600: The path expression is not allowed in this context."
#define OB_ERR_JSON_BAD_ONE_OR_ALL_ARG__ORA_USER_ERROR_MSG "ORA-00600: The oneOrAll argument may take these values: \'one\' or \'all\'."
#define OB_ERR_NUMERIC_JSON_VALUE_OUT_OF_RANGE__ORA_USER_ERROR_MSG "ORA-00600: Out of range JSON value for CAST"
#define OB_ERR_INVALID_JSON_VALUE_FOR_CAST__ORA_USER_ERROR_MSG "ORA-00600: Invalid JSON value for CAST"
#define OB_ERR_JSON_OUT_OF_DEPTH__ORA_USER_ERROR_MSG "ORA-00600: The JSON document exceeds the maximum depth."
#define OB_ERR_JSON_DOCUMENT_NULL_KEY__ORA_USER_ERROR_MSG "ORA-00600: JSON documents may not contain NULL member names."
#define OB_ERR_BLOB_CANT_HAVE_DEFAULT__ORA_USER_ERROR_MSG "ORA-00600: Invalid default value for \'%.*s\'"
#define OB_ERR_INVALID_JSON_PATH_ARRAY_CELL__ORA_USER_ERROR_MSG "ORA-00600: A path expression is not a path to a cell in an array"
#define OB_ERR_MISSING_JSON_VALUE__ORA_USER_ERROR_MSG "ORA-00600: No value was found by '%.192s' on the specified path."
#define OB_ERR_MULTIPLE_JSON_VALUES__ORA_USER_ERROR_MSG "ORA-00600: More than one value was found by '%.192s' on the specified path."
#define OB_ERR_SP_DOES_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5542, %s %.*s.%.*s does not exist"
#define OB_ERR_SP_UNDECLARED_VAR__ORA_USER_ERROR_MSG "PLS-00201: identifier '%.*s' must be declared"
...
...
@@ -3902,29 +3931,9 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
#define OB_ERR_INCORRECT_VALUE_FOR_FUNCTION__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5936, Incorrect %.*s value: '%.*s' for function %.*s"
#define OB_ERR_USER_EXCEED_RESOURCE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5967, User '%.*s' has exceeded the '%s' resource (current value: %lu)"
#define OB_ERR_CTE_NEED_QUERY_BLOCKS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5976, Recursive Common Table Expression should have one or more non-recursive query blocks followed by one or more recursive ones: %s"
#define OB_ERR_INVALID_JSON_CHARSET__ORA_USER_ERROR_MSG "ORA-00600: Cannot create a JSON value from a string."
#define OB_ERR_INVALID_JSON_CHARSET_IN_FUNCTION__ORA_USER_ERROR_MSG "ORA-00600: Invalid JSON character data provided to function."
#define OB_ERR_INVALID_TYPE_FOR_JSON__ORA_USER_ERROR_MSG "ORA-00600: Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required."
#define OB_ERR_INVALID_CAST_TO_JSON__ORA_USER_ERROR_MSG "ORA-00600: Cannot CAST value to JSON."
#define OB_ERR_INVALID_JSON_PATH_CHARSET__ORA_USER_ERROR_MSG "ORA-00600: A path expression must be encoded in the utf8 character set."
#define OB_ERR_INVALID_JSON_PATH_WILDCARD__ORA_USER_ERROR_MSG "ORA-00600: In this situation, path expressions may not contain the * and ** tokens."
#define OB_ERR_JSON_VALUE_TOO_BIG__ORA_USER_ERROR_MSG "ORA-00600: The JSON value is too big to be stored in a JSON column."
#define OB_ERR_JSON_KEY_TOO_BIG__ORA_USER_ERROR_MSG "ORA-00600: The JSON object contains a key name that is too long."
#define OB_ERR_JSON_USED_AS_KEY__ORA_USER_ERROR_MSG "ORA-00600: JSON column '%.*s' cannot be used in key specification."
#define OB_ERR_JSON_VACUOUS_PATH__ORA_USER_ERROR_MSG "ORA-00600: The path expression is not allowed in this context."
#define OB_ERR_JSON_BAD_ONE_OR_ALL_ARG__ORA_USER_ERROR_MSG "ORA-00600: The oneOrAll argument may take these values: \'one\' or \'all\'."
#define OB_ERR_NUMERIC_JSON_VALUE_OUT_OF_RANGE__ORA_USER_ERROR_MSG "ORA-00600: Out of range JSON value for CAST"
#define OB_ERR_INVALID_JSON_VALUE_FOR_CAST__ORA_USER_ERROR_MSG "ORA-00600: Invalid JSON value for CAST"
#define OB_ERR_JSON_OUT_OF_DEPTH__ORA_USER_ERROR_MSG "ORA-00600: The JSON document exceeds the maximum depth."
#define OB_ERR_JSON_DOCUMENT_NULL_KEY__ORA_USER_ERROR_MSG "ORA-00600: JSON documents may not contain NULL member names."
#define OB_ERR_BLOB_CANT_HAVE_DEFAULT__ORA_USER_ERROR_MSG "ORA-00600: Invalid default value for \'%.*s\'"
#define OB_ERR_INVALID_JSON_PATH_ARRAY_CELL__ORA_USER_ERROR_MSG "ORA-00600: A path expression is not a path to a cell in an array"
#define OB_ERR_MISSING_JSON_VALUE__ORA_USER_ERROR_MSG "ORA-00600: No value was found by '%.192s' on the specified path."
#define OB_ERR_MULTIPLE_JSON_VALUES__ORA_USER_ERROR_MSG "ORA-00600: More than one value was found by '%.192s' on the specified path."
#define OB_ERR_WINDOW_ROWS_INTERVAL_USE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5983, Window '%s': INTERVAL can only be used with RANGE frames."
#define OB_ERR_WINDOW_RANGE_FRAME_ORDER_TYPE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5984, Window '%s' with RANGE N PRECEDING/FOLLOWING frame requires exactly one ORDER BY expression of numeric or temporal type"
#define OB_ERR_WINDOW_ILLEGAL_ORDER_BY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5985, Window '%s': ORDER BY or PARTITION BY uses legacy position indication which is not supported, use expression."
#define OB_TRANSACTION_SET_VIOLATION__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -6001, Transaction set changed during the execution"