W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗值獎勵
本節(jié)主要介紹錯誤消息的結(jié)構(gòu)和常見的錯誤信息。
常規(guī)的錯誤消息結(jié)構(gòu)允許將運行時信息附加到消息的末尾,并以冒號開頭,如下所示:
<error_message>:<extra_info>
如下示例為顯示 closed statement
錯誤,這表明在調(diào)用 next
方法(結(jié)果集對象)的過程中引發(fā)了異常。
Closed Statement:next
在某些情況下,用戶可以在堆棧跟蹤中找到相同的信息。
錯誤信息按 ORA 編號排序如下表所示。
ORA 編碼 |
錯誤信息 |
解釋 |
---|---|---|
ORA-17001 |
Internal Error |
內(nèi)部錯誤。 |
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 |
無效的動態(tài)列。 |
ORA-17008 |
Closed Connection |
關(guān)閉的連接。 |
ORA-17009 |
Closed Statement |
關(guān)閉的語句。 |
ORA-17010 |
Closed Resultset |
關(guān)閉的結(jié)果集。 |
ORA-17011 |
Exhausted Resultset |
結(jié)果集已耗盡。 |
ORA-17012 |
Parameter Type Conflict |
參數(shù)類型沖突。 |
ORA-17014 |
ResultSet.next was not called |
未調(diào)用 |
ORA-17015 |
Statement was cancelled |
語句被取消。 |
ORA-17016 |
Statement timed out |
語句超時。 |
ORA-17017 |
Cursor already initialized |
已初始化游標(biāo)。 |
ORA-17018 |
Invalid cursor |
無效的游標(biāo)。 |
ORA-17019 |
Can only describe a query |
只能描述查詢。 |
ORA-17020 |
Invalid row prefetch |
無效的行預(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ù)組不夠長。 |
ORA-17039 |
Char array not long enough |
CHAR 數(shù)組不夠長。 |
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 |
無效的批值。 |
ORA-17043 |
Invalid stream maximum size |
流的最大長度無效。 |
ORA-17044 |
Internal error: Data array not allocated |
內(nèi)部錯誤: 未分配數(shù)據(jù)數(shù)組。 |
ORA-17045 |
Internal error: Attempt to access bind values beyond the batch value |
內(nèi)部錯誤: 試圖訪問批值之外的綁定值。 |
ORA-17046 |
Internal error: Invalid index for data access |
內(nèi)部錯誤: 數(shù)據(jù)訪問的索引無效。 |
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 |
關(guān)閉的 LOB。 |
ORA-17058 |
Internal error: Invalid NLS Conversion ratio |
內(nèi)部錯誤: 無效的 NLS 轉(zhuǎn)換率。 |
ORA-17059 |
Fail to convert to internal representation |
無法轉(zhuǎn)換為內(nèi)部表示。 |
ORA-17060 |
Fail to construct descriptor |
無法構(gòu)造描述符。 |
ORA-17061 |
Missing descriptor |
丟失描述符。 |
ORA-17062 |
Ref cursor is invalid |
Ref 游標(biāo)無效。 |
ORA-17063 |
Not in a transaction |
不在事務(wù)處理中。 |
ORA-17064 |
Invalid Sytnax or Database name is null |
無效的語法或數(shù)據(jù)庫名為空。 |
ORA-17065 |
Conversion class is null |
轉(zhuǎn)換類為空。 |
ORA-17066 |
Access layer specific implementation needed |
訪問層需要具體實施。 |
ORA-17067 |
Invalid Oracle URL specified |
指定了無效的 URL。 |
ORA-17068 |
Invalid argument(s) in call |
調(diào)用中的無效參數(shù)。 |
ORA-17069 |
Use explicit XA call |
使用明確的 XA 調(diào)用。 |
ORA-17070 |
Data size bigger than max size for this type |
數(shù)據(jù)大小超出此類型的最大值。 |
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 |
對只轉(zhuǎn)發(fā)結(jié)果集的無效操作。 |
ORA-17076 |
Invalid operation for read only resultset |
對只讀結(jié)果集的無效操作。 |
ORA-17077 |
Fail to set REF value |
無法設(shè)置 REF 值。 |
ORA-17078 |
Cannot do the operation as connections are already opened |
無法進(jìn)行該操作,因為連接已打開。 |
ORA-17079 |
User credentials doesn't match the existing ones |
用戶身份證明與現(xiàn)有身份證明不匹配。 |
ORA-17080 |
invalid batch command |
無效的批處理命令。 |
ORA-17081 |
error occurred during batching |
批處理中出現(xiàn)錯誤。 |
ORA-17082 |
No current row |
沒有當(dāng)前行。 |
ORA-17083 |
Not on the insert row |
不在插入的行上。 |
ORA-17084 |
Called on the insert row |
訪問插入行。 |
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 |
不支持所請求的結(jié)果集類型和并發(fā)級別的語法不受支持。 |
ORA-17089 |
internal error |
內(nèi)部錯誤。 |
ORA-17090 |
operation not allowed |
不允許的操作。 |
ORA-17091 |
Unable to create resultset at the requested type and/or concurrency level |
在所請求的類型和 (或) 并發(fā)級別無法創(chuàng)建結(jié)果集。 |
ORA-17092 |
JDBC statements cannot be created or executed at end of call processing |
無法在調(diào)用處理操作結(jié)束時創(chuàng)建或執(zhí)行 JDBC 語句。 |
ORA-17094 |
Object type version mismatched |
對象類型版本不匹配。 |
ORA-17095 |
Statement cache size has not been set |
未設(shè)置語句緩存大小。 |
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 索引表數(shù)組長度無效。 |
ORA-17100 |
Invalid database Java Object |
數(shù)據(jù)庫 Java 對象無效。 |
ORA-17103 |
invalid connection type to return via getConnection. Use getJavaSqlConnection instead |
通過 |
ORA-17104 |
SQL statement to execute cannot be empty or null |
要執(zhí)行的 SQL 語句不得為空或 Null。 |
ORA-17105 |
connection session time zone was not set |
未設(shè)置連接會話時區(qū)。 |
ORA-17107 |
invalid proxy type specified |
指定的代理類型無效。 |
ORA-17108 |
No max length specified in defineColumnType |
沒有在 |
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 超時時間無效。 |
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 |
無法在全局事務(wù)中使用本地事務(wù)處理提交。 |
ORA-17115 |
could not use local transaction rollback in a global transaction |
無法在全局事務(wù)中使用本地事務(wù)處理回退。 |
ORA-17116 |
could not turn on auto-commit in an active global transaction |
無法在活動的全局事務(wù)中啟用自動提交功能。 |
ORA-17117 |
could not set savepoint in an active global transaction |
無法在活動的全局事務(wù)處理中設(shè)置保存點。 |
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 |
無法設(shè)置啟用了自動提交功能的保存點。 |
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 |
無法在全局事務(wù)中回退到啟用了自動提交功能的保存點。 |
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 |
請求的轉(zhuǎn)換無效。 |
ORA-17133 |
UNUSED |
|
ORA-17134 |
Length of named parameter in SQL exceeded 32 characters |
SQL 中命名參數(shù)的長度超過 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 |
連接緩存未啟用,或者未啟用緩存的有效數(shù)據(jù)源。 |
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 |
未執(zhí)行語句句柄。 |
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 試圖設(shè)置未出現(xiàn)在 SQL 中的參數(shù)名。 |
ORA-17149 |
This is already a proxy session |
這已經(jīng)是代理會話。 |
ORA-17150 |
Wrong arguments for proxy session |
代理會話的參數(shù)錯誤。 |
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 |
數(shù)組大小對于端對端的度量值無效。 |
ORA-17157 |
setString can only process strings of less than 32766 chararacters |
|
ORA-17158 |
duration is invalid for this function |
持續(xù)時間對該函數(shù)無效。 |
ORA-17159 |
metric value for end-to-end tracing is too long |
要執(zhí)行端對端跟蹤的度量值太長。 |
ORA-17160 |
execution context id sequence number out of range |
執(zhí)行上下文 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 |
無法在啟用了緩存的情況下從物理連接調(diào)用 |
ORA-17165 |
DBMS_JDBC package not preset in server for this connection |
服務(wù)器中不存在此連接的 |
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 |
并非所有返回參數(shù)都已注冊。 |
ORA-17174 |
The only supported namespace is CLIENTCONTEXT |
唯一受支持的名稱空間是 |
ORA-17175 |
Error during remote ONS configuration |
配置遠(yuǎn)程 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 無法創(chuàng)建該類型的結(jié)果。 |
ORA_17264 |
SQLXML cannoct create a Source of that type |
SQLXML 不能創(chuàng)建該類型的源。 |
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: