本节主要介绍错误消息的结构和常见的错误信息。

成都创新互联公司是一家专业提供普兰企业网站建设,专注与成都网站制作、成都网站建设、H5场景定制、小程序制作等业务。10年已为普兰众多企业、政府机构等服务。创新互联专业网络公司优惠进行中。
常规的错误消息结构允许将运行时信息附加到消息的末尾,并以冒号开头,如下所示:
  
: 如下示例为显示 closed statement 错误,这表明在调用 next 方法(结果集对象)的过程中引发了异常。
  
Closed Statement:next在某些情况下,用户可以在堆栈跟踪中找到相同的信息。
错误信息按 ORA 编号排序如下表所示。
| 
 ORA 编码  | 
 错误信息  | 
 解释  | 
|---|---|---|
ORA-17001  | Internal Error  | 内部错误。  | 
ORA-17002  | Io exception  | IO 异常。  | 
ORA-17003  | Invalid column index  | 无效的列索引。  | 
ORA-17004  | Invalid column type  | 无效的列类型。  | 
ORA-17005  | Unsupported column type  | 不支持的列类型。  | 
ORA-17006  | Invalid column name  | 列名无效。  | 
ORA-17007  | Invalid dynamic column  | 无效的动态列。  | 
ORA-17008  | Closed Connection  | 关闭的连接。  | 
ORA-17009  | Closed Statement  | 关闭的语句。  | 
ORA-17010  | Closed Resultset  | 关闭的结果集。  | 
ORA-17011  | Exhausted Resultset  | 结果集已耗尽。  | 
ORA-17012  | Parameter Type Conflict  | 参数类型冲突。  | 
ORA-17014  | ResultSet.next was not called  | 未调用   | 
ORA-17015  | Statement was cancelled  | 语句被取消。  | 
ORA-17016  | Statement timed out  | 语句超时。  | 
ORA-17017  | Cursor already initialized  | 已初始化游标。  | 
ORA-17018  | Invalid cursor  | 无效的游标。  | 
ORA-17019  | Can only describe a query  | 只能描述查询。  | 
ORA-17020  | Invalid row prefetch  | 无效的行预取。  | 
ORA-17021  | Missing defines  | 定义丢失。  | 
ORA-17022  | Missing defines at index  | 在索引处定义丢失。  | 
ORA-17023  | Unsupported feature  | 不支持的特性。  | 
ORA-17024  | No data read  | 未读取数据。  | 
ORA-17025  | Error in defines.isNull ()  | 
  | 
ORA-17026  | Numeric Overflow  | 数字溢出。  | 
ORA-17027  | Stream has already been closed  | 信息流已被关闭。  | 
ORA-17028  | Can not do new defines until the current ResultSet is closed  | 直到关闭当前的结果集才能进行新的定义。  | 
ORA-17029  | setReadOnly: Read-only connections not supported  | 
  | 
ORA-17030  | READ_COMMITTED and SERIALIZABLE are the only valid transaction levels  | 仅   | 
ORA-17031  | setAutoClose: Only support auto close mode on  | 
  | 
ORA-17032  | cannot set row prefetch to zero  | 行预取不能设置为零。  | 
ORA-17033  | Malformed SQL92 string at position  | 出现格式不正确的 SQL92 串。  | 
ORA-17034  | Non supported SQL92 token at position  | 出现不支持的 SQL92 标记。  | 
ORA-17035  | Character Set Not Supported !!  | 不支持的字符集 !!  | 
ORA-17036  | exception in OracleNumber  | OracleNumber 中的异常。  | 
ORA-17037  | Fail to convert between UTF8 and UCS2  | 不能在 UTF8 和 UCS2 之间转换。  | 
ORA-17038  | Byte array not long enough  | 字节数组不够长。  | 
ORA-17039  | Char array not long enough  | CHAR 数组不够长。  | 
ORA-17040  | Sub Protocol must be specified in connection URL  | 必须在连接 URL 中指定子协议。  | 
ORA-17041  | Missing IN or OUT parameter at index:  | 索引中丢失   | 
ORA-17042  | Invalid Batch Value  | 无效的批值。  | 
ORA-17043  | Invalid stream maximum size  | 流的最大长度无效。  | 
ORA-17044  | Internal error: Data array not allocated  | 内部错误: 未分配数据数组。  | 
ORA-17045  | Internal error: Attempt to access bind values beyond the batch value  | 内部错误: 试图访问批值之外的绑定值。  | 
ORA-17046  | Internal error: Invalid index for data access  | 内部错误: 数据访问的索引无效。  | 
ORA-17047  | Error in Type Descriptor parse  | 分析类型描述符时出错。  | 
ORA-17048  | Undefined type  | 未定义的类型。  | 
ORA-17049  | Inconsistent java and sql object types  | 不一致的 Java 和 SQL 对象类型。  | 
ORA-17050  | no such element in vector  | 矢量中没有这样的元素。  | 
ORA-17051  | This API cannot be be used for non-UDT types  | 此 API 不能用于非 UDT 类型。  | 
ORA-17052  | This ref is not valid  | 此   | 
ORA-17053  | The size is not valid  | 长度无效。  | 
ORA-17054  | The LOB locator is not valid  | LOB 定位器无效。  | 
ORA-17055  | Invalid character encountered in  | 遇到无效字符。  | 
ORA-17056  | Non supported character set (add orai18n.jar in your classpath)  | 不支持的字符集 (在类路径中添加   | 
ORA-17057  | Closed LOB  | 关闭的 LOB。  | 
ORA-17058  | Internal error: Invalid NLS Conversion ratio  | 内部错误: 无效的 NLS 转换率。  | 
ORA-17059  | Fail to convert to internal representation  | 无法转换为内部表示。  | 
ORA-17060  | Fail to construct descriptor  | 无法构造描述符。  | 
ORA-17061  | Missing descriptor  | 丢失描述符。  | 
ORA-17062  | Ref cursor is invalid  | Ref 游标无效。  | 
ORA-17063  | Not in a transaction  | 不在事务处理中。  | 
ORA-17064  | Invalid Sytnax or Database name is null  | 无效的语法或数据库名为空。  | 
ORA-17065  | Conversion class is null  | 转换类为空。  | 
ORA-17066  | Access layer specific implementation needed  | 访问层需要具体实施。  | 
ORA-17067  | Invalid Oracle URL specified  | 指定了无效的 URL。  | 
ORA-17068  | Invalid argument(s) in call  | 调用中的无效参数。  | 
ORA-17069  | Use explicit XA call  | 使用明确的 XA 调用。  | 
ORA-17070  | Data size bigger than max size for this type  | 数据大小超出此类型的最大值。  | 
ORA-17071  | Exceeded maximum VARRAY limit  | 超出   | 
ORA-17072  | Inserted value too large for column  | 插入列的值过大。  | 
ORA-17074  | invalid name pattern  | 无效的名称模式。  | 
ORA-17075  | Invalid operation for forward only resultset  | 对只转发结果集的无效操作。  | 
ORA-17076  | Invalid operation for read only resultset  | 对只读结果集的无效操作。  | 
ORA-17077  | Fail to set REF value  | 无法设置 REF 值。  | 
ORA-17078  | Cannot do the operation as connections are already opened  | 无法进行该操作,因为连接已打开。  | 
ORA-17079  | User credentials doesn't match the existing ones  | 用户身份证明与现有身份证明不匹配。  | 
ORA-17080  | invalid batch command  | 无效的批处理命令。  | 
ORA-17081  | error occurred during batching  | 批处理中出现错误。  | 
ORA-17082  | No current row  | 没有当前行。  | 
ORA-17083  | Not on the insert row  | 不在插入的行上。  | 
ORA-17084  | Called on the insert row  | 访问插入行。  | 
ORA-17085  | Value conflicts occurs  | 出现值冲突。  | 
ORA-17086  | Undefined column value on the insert row  | 插入行上的未定义列值。  | 
ORA-17087  | Ignored performance hint: setFetchDirection()  | 可忽略的性能提示:   | 
ORA-17088  | Unsupported syntax for requested resultset type and concurrency level  | 不支持所请求的结果集类型和并发级别的语法不受支持。  | 
ORA-17089  | internal error  | 内部错误。  | 
ORA-17090  | operation not allowed  | 不允许的操作。  | 
ORA-17091  | Unable to create resultset at the requested type and/or concurrency level  | 在所请求的类型和 (或) 并发级别无法创建结果集。  | 
ORA-17092  | JDBC statements cannot be created or executed at end of call processing  | 无法在调用处理操作结束时创建或执行 JDBC 语句。  | 
ORA-17094  | Object type version mismatched  | 对象类型版本不匹配。  | 
ORA-17095  | Statement cache size has not been set  | 未设置语句缓存大小。  | 
ORA-17096  | Statement Caching cannot be enabled for this logical connection.  | 不能为此逻辑连接启用语句缓存。  | 
ORA-17097  | Invalid PL/SQL Index Table element type  | PL 索引表的元素类型无效。  | 
ORA-17098  | Invalid empty lob operation  | 空 LOB 操作无效。  | 
ORA-17099  | Invalid PL Index Table array length  | PL 索引表数组长度无效。  | 
ORA-17100  | Invalid database Java Object  | 数据库 Java 对象无效。  | 
ORA-17103  | invalid connection type to return via getConnection. Use getJavaSqlConnection instead  | 通过   | 
ORA-17104  | SQL statement to execute cannot be empty or null  | 要执行的 SQL 语句不得为空或 Null。  | 
ORA-17105  | connection session time zone was not set  | 未设置连接会话时区。  | 
ORA-17107  | invalid proxy type specified  | 指定的代理类型无效。  | 
ORA-17108  | No max length specified in defineColumnType  | 没有在   | 
ORA-17109  | standard Java character encoding not found  | 找不到标准 Java 字符编码。  | 
ORA-17110  | execution completed with warning  | 执行完毕,但带有警告。  | 
ORA-17111  | Invalid connection cache TTL timeout specified  | 指定的连接缓存 TTL 超时时间无效。  | 
ORA-17112  | Invalid thread interval specified  | 指定的线程时间间隔无效。  | 
ORA-17113  | Thread interval value is more than the cache timeout value  | 线程时间间隔值大于缓存超时值。  | 
ORA-17114  | could not use local transaction commit in a global transaction  | 无法在全局事务中使用本地事务处理提交。  | 
ORA-17115  | could not use local transaction rollback in a global transaction  | 无法在全局事务中使用本地事务处理回退。  | 
ORA-17116  | could not turn on auto-commit in an active global transaction  | 无法在活动的全局事务中启用自动提交功能。  | 
ORA-17117  | could not set savepoint in an active global transaction  | 无法在活动的全局事务处理中设置保存点。  | 
ORA-17118  | could not obtain ID for a named Savepoint  | 法获取已命名保存点的 ID。  | 
ORA-17119  | could not obtain name for an un-named Savepoint  | 无法获取未命名保存点的名称。  | 
ORA-17120  | could not set a Savepoint with auto-commit on  | 无法设置启用了自动提交功能的保存点。  | 
ORA-17121  | could not rollback to a Savepoint with auto-commit on  | 无法回退到启用了自动提交功能的保存点。  | 
ORA-17122  | could not rollback to a local txn Savepoint in a global transaction  | 无法在全局事务中回退到启用了自动提交功能的保存点。  | 
ORA-17123  | Invalid statement cache size specified  | 指定的语句缓存大小无效。  | 
ORA-17124  | Invalid connection cache Inactivity timeout specified  | 指定的连接缓存失活超时时间无效。  | 
ORA-17125  | Improper statement type returned by explicit cache  | 显式缓存返回了不正确的语句类型。  | 
ORA-17126  | Fixed Wait timeout elapsed  | 固定等待超时时间已过。  | 
ORA-17127  | Invalid Fixed Wait timeout specified  | 指定的固定等待超时时间无效。  | 
ORA-17128  | SQL string is not Query  | SQL 字符串不是查询。  | 
ORA-17129  | SQL string is not a DML Statement  | SQL 字符串不是 DML 语句。  | 
ORA-17132  | Invalid conversion requested  | 请求的转换无效。  | 
ORA-17133  | UNUSED  | 
  | 
ORA-17134  | Length of named parameter in SQL exceeded 32 characters  | SQL 中命名参数的长度超过 32 个字符。  | 
ORA-17135  | Parameter name used in setXXXStream appears more than once in SQL  | 
  | 
ORA-17136  | Malformed DATALINK URL, try getString() instead  | 格式错误的 DATALINK URL,请尝试使用   | 
ORA-17137  | Connection Caching Not Enabled or Not a Valid Cache Enabled DataSource  | 连接缓存未启用,或者未启用缓存的有效数据源。  | 
ORA-17138  | Invalid Connection Cache Name. Must be a valid String and Unique  | 连接缓存名称无效。必须是有效的字符串并且是唯一的。  | 
ORA-17139  | Invalid Connection Cache Properties  | 连接缓存属性无效。  | 
ORA-17140  | Connection Cache with this Cache Name already exists  | 具有此名称的连接缓存已存在。  | 
ORA-17141  | Connection Cache with this Cache Name does not exist  | 具有此名称的连接缓存不存在。  | 
ORA-17142  | Connection Cache with this Cache Name is Disabled  | 具有此缓存名称的连接缓存已禁用。  | 
ORA-17143  | Invalid or Stale Connection found in the Connection Cache  | 在连接缓存中找到的连接无效或已过时。  | 
ORA-17144  | statement handle not executed  | 未执行语句句柄。  | 
ORA-17145  | Invalid ONS Event received  | 接收到的 ONS 事件无效。  | 
ORA-17146  | Invalid ONS Event Version received  | 接收到的 ONS 事件版本无效。  | 
ORA-17147  | Attempt to set a parameter name that does not occur in the SQL  | SQL 试图设置未出现在 SQL 中的参数名。  | 
ORA-17149  | This is already a proxy session  | 这已经是代理会话。  | 
ORA-17150  | Wrong arguments for proxy session  | 代理会话的参数错误。  | 
ORA-17151  | Clob is too large to be stored in a Java String  | Clob 太大,无法存储在 Java 字符串中。  | 
ORA-17152  | This method is only implemented in logical connections  | 此方法仅在逻辑连接中实施。  | 
ORA-17153  | This method is only implemented in physical connections  | 此方法仅在物理连接中实施。  | 
ORA-17156  | Invalid array size for End-to-End metrics values  | 数组大小对于端对端的度量值无效。  | 
ORA-17157  | setString can only process strings of less than 32766 chararacters  | 
  | 
ORA-17158  | duration is invalid for this function  | 持续时间对该函数无效。  | 
ORA-17159  | metric value for end-to-end tracing is too long  | 要执行端对端跟踪的度量值太长。  | 
ORA-17160  | execution context id sequence number out of range  | 执行上下文 ID 序列号超出范围。  | 
ORA-17161  | Invalid transaction mode used  | 使用的交易模式无效。  | 
ORA-17162  | Unsupported holdability value  | 不支持的   | 
ORA-17163  | Can not use getXAConnection() when connection caching is enabled  | 无法在启用连接缓存时使用   | 
ORA-17164  | Can not call getXAResource() from physical connection with caching on  | 无法在启用了缓存的情况下从物理连接调用   | 
ORA-17165  | DBMS_JDBC package not preset in server for this connection  | 服务器中不存在此连接的   | 
ORA-17166  | Cannot perform fetch on a PL statement  | 无法提取 PL 语句。  | 
ORA-17167  | PKI classes not found. To use 'connect /' functionality, oraclepki.jar must be in the classpath  | 找不到 PKI 类。要使用   | 
ORA-17168  | encountered a problem with the Secret Store. Check the wallet location for the presence of an open wallet (cwallet.sso) and ensure that this wallet contains the correct credentials using the mkstore utility  | 密钥存储遇到问题。请在打开的 Wallet (  | 
ORA-17169  | Cannot bind stream to a ScrollableResultSet or UpdatableResultSet  | 无法将流绑定到   | 
ORA-17170  | The Namespace cannot be empty  | 名称空间不能为空。  | 
ORA-17171  | The attribute length cannot exceed 30 chars  | 属性长度不能超过 30 个字符。  | 
ORA-17172  | That value of the attribute cannot exceed 400 chars  | 属性的值不能超过 400 个字符。  | 
ORA-17173  | Not all return parameters registered  | 并非所有返回参数都已注册。  | 
ORA-17174  | The only supported namespace is CLIENTCONTEXT  | 唯一受支持的名称空间是   | 
ORA-17175  | Error during remote ONS configuration  | 配置远程 ONS 期间出错。  | 
ORA-17259  | SQLXML cannot find the XML support jar file in the classpath  | SQLXML 在类路径中找不到 XML 支持的   | 
ORA-17260  | Attempt to read an empty SQLXML  | 尝试读取一个空的 SQLXML。  | 
ORA-17261  | Attempt to read a SQLXML that is not readable  | 尝试读取不可读的 SQLXML。  | 
ORA-17262  | Attempt to write a SQLXML that is not writeable  | 尝试编写不可写的 SQLXML。  | 
ORA-17263  | SQLXML cannot create a Result of that type  | SQLXML 无法创建该类型的结果。  | 
ORA_17264  | SQLXML cannoct create a Source of that type  | SQLXML 不能创建该类型的源。  | 
                当前题目:创新互联OceanBase教程:OceanBaseOracle模式的错误消息
                
                本文路径:http://www.csdahua.cn/qtweb/news2/523252.html
            
网站建设、网络推广公司-快上网,是专注品牌与效果的网站制作,网络营销seo公司;服务项目有等
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 快上网