新聞中心
本節(jié)主要介紹錯(cuò)誤消息的結(jié)構(gòu)和常見(jiàn)的錯(cuò)誤信息。

成都創(chuàng)新互聯(lián)公司是一家專(zhuān)業(yè)提供普蘭企業(yè)網(wǎng)站建設(shè),專(zhuān)注與成都網(wǎng)站制作、成都網(wǎng)站建設(shè)、H5場(chǎng)景定制、小程序制作等業(yè)務(wù)。10年已為普蘭眾多企業(yè)、政府機(jī)構(gòu)等服務(wù)。創(chuàng)新互聯(lián)專(zhuān)業(yè)網(wǎng)絡(luò)公司優(yōu)惠進(jìn)行中。
錯(cuò)誤消息的結(jié)構(gòu)
常規(guī)的錯(cuò)誤消息結(jié)構(gòu)允許將運(yùn)行時(shí)信息附加到消息的末尾,并以冒號(hào)開(kāi)頭,如下所示:
: 如下示例為顯示 closed statement 錯(cuò)誤,這表明在調(diào)用 next 方法(結(jié)果集對(duì)象)的過(guò)程中引發(fā)了異常。
Closed Statement:next在某些情況下,用戶(hù)可以在堆棧跟蹤中找到相同的信息。
常見(jiàn)錯(cuò)誤信息
錯(cuò)誤信息按 ORA 編號(hào)排序如下表所示。
|
ORA 編碼 |
錯(cuò)誤信息 |
解釋 |
|---|---|---|
ORA-17001 | Internal Error | 內(nèi)部錯(cuò)誤。 |
ORA-17002 | Io exception | IO 異常。 |
ORA-17003 | Invalid column index | 無(wú)效的列索引。 |
ORA-17004 | Invalid column type | 無(wú)效的列類(lèi)型。 |
ORA-17005 | Unsupported column type | 不支持的列類(lèi)型。 |
ORA-17006 | Invalid column name | 列名無(wú)效。 |
ORA-17007 | Invalid dynamic column | 無(wú)效的動(dòng)態(tài)列。 |
ORA-17008 | Closed Connection | 關(guān)閉的連接。 |
ORA-17009 | Closed Statement | 關(guān)閉的語(yǔ)句。 |
ORA-17010 | Closed Resultset | 關(guān)閉的結(jié)果集。 |
ORA-17011 | Exhausted Resultset | 結(jié)果集已耗盡。 |
ORA-17012 | Parameter Type Conflict | 參數(shù)類(lèi)型沖突。 |
ORA-17014 | ResultSet.next was not called | 未調(diào)用 |
ORA-17015 | Statement was cancelled | 語(yǔ)句被取消。 |
ORA-17016 | Statement timed out | 語(yǔ)句超時(shí)。 |
ORA-17017 | Cursor already initialized | 已初始化游標(biāo)。 |
ORA-17018 | Invalid cursor | 無(wú)效的游標(biāo)。 |
ORA-17019 | Can only describe a query | 只能描述查詢(xún)。 |
ORA-17020 | Invalid row prefetch | 無(wú)效的行預(yù)取。 |
ORA-17021 | Missing defines | 定義丟失。 |
ORA-17022 | Missing defines at index | 在索引處定義丟失。 |
ORA-17023 | Unsupported feature | 不支持的特性。 |
ORA-17024 | No data read | 未讀取數(shù)據(jù)。 |
ORA-17025 | Error in defines.isNull () |
|
ORA-17026 | Numeric Overflow | 數(shù)字溢出。 |
ORA-17027 | Stream has already been closed | 信息流已被關(guān)閉。 |
ORA-17028 | Can not do new defines until the current ResultSet is closed | 直到關(guān)閉當(dāng)前的結(jié)果集才能進(jìn)行新的定義。 |
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 | 行預(yù)取不能設(shè)置為零。 |
ORA-17033 | Malformed SQL92 string at position | 出現(xiàn)格式不正確的 SQL92 串。 |
ORA-17034 | Non supported SQL92 token at position | 出現(xiàn)不支持的 SQL92 標(biāo)記。 |
ORA-17035 | Character Set Not Supported !! | 不支持的字符集 !! |
ORA-17036 | exception in OracleNumber | OracleNumber 中的異常。 |
ORA-17037 | Fail to convert between UTF8 and UCS2 | 不能在 UTF8 和 UCS2 之間轉(zhuǎn)換。 |
ORA-17038 | Byte array not long enough | 字節(jié)數(shù)組不夠長(zhǎng)。 |
ORA-17039 | Char array not long enough | CHAR 數(shù)組不夠長(zhǎng)。 |
ORA-17040 | Sub Protocol must be specified in connection URL | 必須在連接 URL 中指定子協(xié)議。 |
ORA-17041 | Missing IN or OUT parameter at index: | 索引中丟失 |
ORA-17042 | Invalid Batch Value | 無(wú)效的批值。 |
ORA-17043 | Invalid stream maximum size | 流的最大長(zhǎng)度無(wú)效。 |
ORA-17044 | Internal error: Data array not allocated | 內(nèi)部錯(cuò)誤: 未分配數(shù)據(jù)數(shù)組。 |
ORA-17045 | Internal error: Attempt to access bind values beyond the batch value | 內(nèi)部錯(cuò)誤: 試圖訪(fǎng)問(wèn)批值之外的綁定值。 |
ORA-17046 | Internal error: Invalid index for data access | 內(nèi)部錯(cuò)誤: 數(shù)據(jù)訪(fǎng)問(wèn)的索引無(wú)效。 |
ORA-17047 | Error in Type Descriptor parse | 分析類(lèi)型描述符時(shí)出錯(cuò)。 |
ORA-17048 | Undefined type | 未定義的類(lèi)型。 |
ORA-17049 | Inconsistent java and sql object types | 不一致的 Java 和 SQL 對(duì)象類(lèi)型。 |
ORA-17050 | no such element in vector | 矢量中沒(méi)有這樣的元素。 |
ORA-17051 | This API cannot be be used for non-UDT types | 此 API 不能用于非 UDT 類(lèi)型。 |
ORA-17052 | This ref is not valid | 此 |
ORA-17053 | The size is not valid | 長(zhǎng)度無(wú)效。 |
ORA-17054 | The LOB locator is not valid | LOB 定位器無(wú)效。 |
ORA-17055 | Invalid character encountered in | 遇到無(wú)效字符。 |
ORA-17056 | Non supported character set (add orai18n.jar in your classpath) | 不支持的字符集 (在類(lèi)路徑中添加 |
ORA-17057 | Closed LOB | 關(guān)閉的 LOB。 |
ORA-17058 | Internal error: Invalid NLS Conversion ratio | 內(nèi)部錯(cuò)誤: 無(wú)效的 NLS 轉(zhuǎn)換率。 |
ORA-17059 | Fail to convert to internal representation | 無(wú)法轉(zhuǎn)換為內(nèi)部表示。 |
ORA-17060 | Fail to construct descriptor | 無(wú)法構(gòu)造描述符。 |
ORA-17061 | Missing descriptor | 丟失描述符。 |
ORA-17062 | Ref cursor is invalid | Ref 游標(biāo)無(wú)效。 |
ORA-17063 | Not in a transaction | 不在事務(wù)處理中。 |
ORA-17064 | Invalid Sytnax or Database name is null | 無(wú)效的語(yǔ)法或數(shù)據(jù)庫(kù)名為空。 |
ORA-17065 | Conversion class is null | 轉(zhuǎn)換類(lèi)為空。 |
ORA-17066 | Access layer specific implementation needed | 訪(fǎng)問(wèn)層需要具體實(shí)施。 |
ORA-17067 | Invalid Oracle URL specified | 指定了無(wú)效的 URL。 |
ORA-17068 | Invalid argument(s) in call | 調(diào)用中的無(wú)效參數(shù)。 |
ORA-17069 | Use explicit XA call | 使用明確的 XA 調(diào)用。 |
ORA-17070 | Data size bigger than max size for this type | 數(shù)據(jù)大小超出此類(lèi)型的最大值。 |
ORA-17071 | Exceeded maximum VARRAY limit | 超出 |
ORA-17072 | Inserted value too large for column | 插入列的值過(guò)大。 |
ORA-17074 | invalid name pattern | 無(wú)效的名稱(chēng)模式。 |
ORA-17075 | Invalid operation for forward only resultset | 對(duì)只轉(zhuǎn)發(fā)結(jié)果集的無(wú)效操作。 |
ORA-17076 | Invalid operation for read only resultset | 對(duì)只讀結(jié)果集的無(wú)效操作。 |
ORA-17077 | Fail to set REF value | 無(wú)法設(shè)置 REF 值。 |
ORA-17078 | Cannot do the operation as connections are already opened | 無(wú)法進(jìn)行該操作,因?yàn)檫B接已打開(kāi)。 |
ORA-17079 | User credentials doesn't match the existing ones | 用戶(hù)身份證明與現(xiàn)有身份證明不匹配。 |
ORA-17080 | invalid batch command | 無(wú)效的批處理命令。 |
ORA-17081 | error occurred during batching | 批處理中出現(xiàn)錯(cuò)誤。 |
ORA-17082 | No current row | 沒(méi)有當(dāng)前行。 |
ORA-17083 | Not on the insert row | 不在插入的行上。 |
ORA-17084 | Called on the insert row | 訪(fǎng)問(wèn)插入行。 |
ORA-17085 | Value conflicts occurs | 出現(xiàn)值沖突。 |
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 | 不支持所請(qǐng)求的結(jié)果集類(lèi)型和并發(fā)級(jí)別的語(yǔ)法不受支持。 |
ORA-17089 | internal error | 內(nèi)部錯(cuò)誤。 |
ORA-17090 | operation not allowed | 不允許的操作。 |
ORA-17091 | Unable to create resultset at the requested type and/or concurrency level | 在所請(qǐng)求的類(lèi)型和 (或) 并發(fā)級(jí)別無(wú)法創(chuàng)建結(jié)果集。 |
ORA-17092 | JDBC statements cannot be created or executed at end of call processing | 無(wú)法在調(diào)用處理操作結(jié)束時(shí)創(chuàng)建或執(zhí)行 JDBC 語(yǔ)句。 |
ORA-17094 | Object type version mismatched | 對(duì)象類(lèi)型版本不匹配。 |
ORA-17095 | Statement cache size has not been set | 未設(shè)置語(yǔ)句緩存大小。 |
ORA-17096 | Statement Caching cannot be enabled for this logical connection. | 不能為此邏輯連接啟用語(yǔ)句緩存。 |
ORA-17097 | Invalid PL/SQL Index Table element type | PL 索引表的元素類(lèi)型無(wú)效。 |
ORA-17098 | Invalid empty lob operation | 空 LOB 操作無(wú)效。 |
ORA-17099 | Invalid PL Index Table array length | PL 索引表數(shù)組長(zhǎng)度無(wú)效。 |
ORA-17100 | Invalid database Java Object | 數(shù)據(jù)庫(kù) Java 對(duì)象無(wú)效。 |
ORA-17103 | invalid connection type to return via getConnection. Use getJavaSqlConnection instead | 通過(guò) |
ORA-17104 | SQL statement to execute cannot be empty or null | 要執(zhí)行的 SQL 語(yǔ)句不得為空或 Null。 |
ORA-17105 | connection session time zone was not set | 未設(shè)置連接會(huì)話(huà)時(shí)區(qū)。 |
ORA-17107 | invalid proxy type specified | 指定的代理類(lèi)型無(wú)效。 |
ORA-17108 | No max length specified in defineColumnType | 沒(méi)有在 |
ORA-17109 | standard Java character encoding not found | 找不到標(biāo)準(zhǔn) Java 字符編碼。 |
ORA-17110 | execution completed with warning | 執(zhí)行完畢,但帶有警告。 |
ORA-17111 | Invalid connection cache TTL timeout specified | 指定的連接緩存 TTL 超時(shí)時(shí)間無(wú)效。 |
ORA-17112 | Invalid thread interval specified | 指定的線(xiàn)程時(shí)間間隔無(wú)效。 |
ORA-17113 | Thread interval value is more than the cache timeout value | 線(xiàn)程時(shí)間間隔值大于緩存超時(shí)值。 |
ORA-17114 | could not use local transaction commit in a global transaction | 無(wú)法在全局事務(wù)中使用本地事務(wù)處理提交。 |
ORA-17115 | could not use local transaction rollback in a global transaction | 無(wú)法在全局事務(wù)中使用本地事務(wù)處理回退。 |
ORA-17116 | could not turn on auto-commit in an active global transaction | 無(wú)法在活動(dòng)的全局事務(wù)中啟用自動(dòng)提交功能。 |
ORA-17117 | could not set savepoint in an active global transaction | 無(wú)法在活動(dòng)的全局事務(wù)處理中設(shè)置保存點(diǎn)。 |
ORA-17118 | could not obtain ID for a named Savepoint | 法獲取已命名保存點(diǎn)的 ID。 |
ORA-17119 | could not obtain name for an un-named Savepoint | 無(wú)法獲取未命名保存點(diǎn)的名稱(chēng)。 |
ORA-17120 | could not set a Savepoint with auto-commit on | 無(wú)法設(shè)置啟用了自動(dòng)提交功能的保存點(diǎn)。 |
ORA-17121 | could not rollback to a Savepoint with auto-commit on | 無(wú)法回退到啟用了自動(dòng)提交功能的保存點(diǎn)。 |
ORA-17122 | could not rollback to a local txn Savepoint in a global transaction | 無(wú)法在全局事務(wù)中回退到啟用了自動(dòng)提交功能的保存點(diǎn)。 |
ORA-17123 | Invalid statement cache size specified | 指定的語(yǔ)句緩存大小無(wú)效。 |
ORA-17124 | Invalid connection cache Inactivity timeout specified | 指定的連接緩存失活超時(shí)時(shí)間無(wú)效。 |
ORA-17125 | Improper statement type returned by explicit cache | 顯式緩存返回了不正確的語(yǔ)句類(lèi)型。 |
ORA-17126 | Fixed Wait timeout elapsed | 固定等待超時(shí)時(shí)間已過(guò)。 |
ORA-17127 | Invalid Fixed Wait timeout specified | 指定的固定等待超時(shí)時(shí)間無(wú)效。 |
ORA-17128 | SQL string is not Query | SQL 字符串不是查詢(xún)。 |
ORA-17129 | SQL string is not a DML Statement | SQL 字符串不是 DML 語(yǔ)句。 |
ORA-17132 | Invalid conversion requested | 請(qǐng)求的轉(zhuǎn)換無(wú)效。 |
ORA-17133 | UNUSED |
|
ORA-17134 | Length of named parameter in SQL exceeded 32 characters | SQL 中命名參數(shù)的長(zhǎng)度超過(guò) 32 個(gè)字符。 |
ORA-17135 | Parameter name used in setXXXStream appears more than once in SQL |
|
ORA-17136 | Malformed DATALINK URL, try getString() instead | 格式錯(cuò)誤的 DATALINK URL,請(qǐng)嘗試使用 |
ORA-17137 | Connection Caching Not Enabled or Not a Valid Cache Enabled DataSource | 連接緩存未啟用,或者未啟用緩存的有效數(shù)據(jù)源。 |
ORA-17138 | Invalid Connection Cache Name. Must be a valid String and Unique | 連接緩存名稱(chēng)無(wú)效。必須是有效的字符串并且是唯一的。 |
ORA-17139 | Invalid Connection Cache Properties | 連接緩存屬性無(wú)效。 |
ORA-17140 | Connection Cache with this Cache Name already exists | 具有此名稱(chēng)的連接緩存已存在。 |
ORA-17141 | Connection Cache with this Cache Name does not exist | 具有此名稱(chēng)的連接緩存不存在。 |
ORA-17142 | Connection Cache with this Cache Name is Disabled | 具有此緩存名稱(chēng)的連接緩存已禁用。 |
ORA-17143 | Invalid or Stale Connection found in the Connection Cache | 在連接緩存中找到的連接無(wú)效或已過(guò)時(shí)。 |
ORA-17144 | statement handle not executed | 未執(zhí)行語(yǔ)句句柄。 |
ORA-17145 | Invalid ONS Event received | 接收到的 ONS 事件無(wú)效。 |
ORA-17146 | Invalid ONS Event Version received | 接收到的 ONS 事件版本無(wú)效。 |
ORA-17147 | Attempt to set a parameter name that does not occur in the SQL | SQL 試圖設(shè)置未出現(xiàn)在 SQL 中的參數(shù)名。 |
ORA-17149 | This is already a proxy session | 這已經(jīng)是代理會(huì)話(huà)。 |
ORA-17150 | Wrong arguments for proxy session | 代理會(huì)話(huà)的參數(shù)錯(cuò)誤。 |
ORA-17151 | Clob is too large to be stored in a Java String | Clob 太大,無(wú)法存儲(chǔ)在 Java 字符串中。 |
ORA-17152 | This method is only implemented in logical connections | 此方法僅在邏輯連接中實(shí)施。 |
ORA-17153 | This method is only implemented in physical connections | 此方法僅在物理連接中實(shí)施。 |
ORA-17156 | Invalid array size for End-to-End metrics values | 數(shù)組大小對(duì)于端對(duì)端的度量值無(wú)效。 |
ORA-17157 | setString can only process strings of less than 32766 chararacters |
|
ORA-17158 | duration is invalid for this function | 持續(xù)時(shí)間對(duì)該函數(shù)無(wú)效。 |
ORA-17159 | metric value for end-to-end tracing is too long | 要執(zhí)行端對(duì)端跟蹤的度量值太長(zhǎng)。 |
ORA-17160 | execution context id sequence number out of range | 執(zhí)行上下文 ID 序列號(hào)超出范圍。 |
ORA-17161 | Invalid transaction mode used | 使用的交易模式無(wú)效。 |
ORA-17162 | Unsupported holdability value | 不支持的 |
ORA-17163 | Can not use getXAConnection() when connection caching is enabled | 無(wú)法在啟用連接緩存時(shí)使用 |
ORA-17164 | Can not call getXAResource() from physical connection with caching on | 無(wú)法在啟用了緩存的情況下從物理連接調(diào)用 |
ORA-17165 | DBMS_JDBC package not preset in server for this connection | 服務(wù)器中不存在此連接的 |
ORA-17166 | Cannot perform fetch on a PL statement | 無(wú)法提取 PL 語(yǔ)句。 |
ORA-17167 | PKI classes not found. To use 'connect /' functionality, oraclepki.jar must be in the classpath | 找不到 PKI 類(lèi)。要使用 |
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 | 密鑰存儲(chǔ)遇到問(wèn)題。請(qǐng)?jiān)诖蜷_(kāi)的 Wallet ( |
ORA-17169 | Cannot bind stream to a ScrollableResultSet or UpdatableResultSet | 無(wú)法將流綁定到 |
ORA-17170 | The Namespace cannot be empty | 名稱(chēng)空間不能為空。 |
ORA-17171 | The attribute length cannot exceed 30 chars | 屬性長(zhǎng)度不能超過(guò) 30 個(gè)字符。 |
ORA-17172 | That value of the attribute cannot exceed 400 chars | 屬性的值不能超過(guò) 400 個(gè)字符。 |
ORA-17173 | Not all return parameters registered | 并非所有返回參數(shù)都已注冊(cè)。 |
ORA-17174 | The only supported namespace is CLIENTCONTEXT | 唯一受支持的名稱(chēng)空間是 |
ORA-17175 | Error during remote ONS configuration | 配置遠(yuǎn)程 ONS 期間出錯(cuò)。 |
ORA-17259 | SQLXML cannot find the XML support jar file in the classpath | SQLXML 在類(lèi)路徑中找不到 XML 支持的 |
ORA-17260 | Attempt to read an empty SQLXML | 嘗試讀取一個(gè)空的 SQLXML。 |
ORA-17261 | Attempt to read a SQLXML that is not readable | 嘗試讀取不可讀的 SQLXML。 |
ORA-17262 | Attempt to write a SQLXML that is not writeable | 嘗試編寫(xiě)不可寫(xiě)的 SQLXML。 |
ORA-17263 | SQLXML cannot create a Result of that type | SQLXML 無(wú)法創(chuàng)建該類(lèi)型的結(jié)果。 |
ORA_17264 | SQLXML cannoct create a Source of that type | SQLXML 不能創(chuàng)建該類(lèi)型的源。 |
分享文章:創(chuàng)新互聯(lián)OceanBase教程:OceanBaseOracle模式的錯(cuò)誤消息
當(dāng)前路徑:http://www.5511xx.com/article/dhihsdc.html


咨詢(xún)
建站咨詢(xún)
