|
最近使用Oracle时老是遇到java.sql.SQLException错误,害得我在网上查得累死累活的,所以一口气查了一下几个常见的,在此列了列.英文是来自官方的,用中文简单翻译了一下,有一些实在不知道怎么翻译,也没有尝试重现,所以将英文原文一并列出,供有需要的人查阅!
ORA-00904: invalid column name 无效列名 ORA-00942: table or view does not exist 表或者视图不存在 ORA-01400: cannot insert NULL into () 不能将空值插入 ORA-00936: 缺少表达式 ORA-00933: SQL 命令未正确结束 ORA-01722: 无效数字:(一般可能是企图将字符串类型的值填入数字型而造成) ORA-06530: ACCESS_INTO_NULL Your program attempts to assign values to the attributes of an uninitialized (atomically null) object. 企图将值写入未初化对象的属性 ORA-06592: CASE_NOT_FOUND None of the choices in the WHEN clauses of a CASE statement is selected, and there is no ELSE clause. case语句格式有误,没有分支语句 ORA-06531: COLLECTION_IS_NULL Your program attempts to apply collection methods other than EXISTS to an uninitialized (atomically null) nested table or varray, or the program attempts to assign values to the elements of an uninitialized nested table or varray. 企图将集合填入未初始化的嵌套表中 ORA-06511: CURSOR_ALREADY_OPEN Your program attempts to open an already open cursor. A cursor must be closed before it can be reopened. A cursor FOR loop automatically opens the cursor to which it refers. So, your program cannot open that cursor inside the loop. 企图打开已经打开的指针.指针已经打开,要再次打开必须先关闭. ORA-00001: DUP_VAL_ON_INDEX Your program attempts to store duplicate values in a database column that is constrained by a unique index. 数据库字段存储重复,主键唯一值冲突 ORA-01001: INVALID_CURSOR 无效指针 Your program attempts an illegal cursor operation such as closing an unopened cursor. 非法指针操作,例如关闭未打开的指针 ORA-01722: INVALID_NUMBER 无效数字 In a SQL statement, the conversion of a character string into a number fails because the string does not represent a valid number. (In procedural statements, VALUE_ERROR is raised.) This exception is also raised when the LIMIT-clause expression in a bulk FETCH statement does not evaluate to a positive number. 在sql语句中,字符数字类型转换错误,无法将字符串转化成有效数字.此错误也可能因为在limit从句表达式中fetch语句无法对应指定数字 ORA-01017: LOGIN_DENIED 拒绝访问 Your program attempts to log on to Oracle with an invalid username and/or password. 企图用无效的用户名或密码登录oracle ORA-01403: NO_DATA_FOUND 无数据发现 A SELECT INTO statement returns no rows, or your program references a deleted element in a nested table or an uninitialized element in an index-by table. SQL aggregate functions such as AVG and SUM always return a value or a null. So, a SELECT INTO statement that calls an aggregate function never raises NO_DATA_FOUND. The FETCH statement is expected to return no rows eventually, so when that happens, no exception is raised. ORA-01012: NOT_LOGGED_ON 未登录 Your program issues a database call without being connected to Oracle. 程序发送数据库命令,但未与oracle建立连接 ORA-06501: PROGRAM_ERROR 程序错误 PL/SQL has an internal problem. pl/sql系统问题 ORA-06504: ROWTYPE_MISMATCH 行类型不匹配 The host cursor variable and PL/SQL cursor variable involved in an assignment have incompatible return types. For example, when an open host cursor variable is passed to a stored subprogram, the return types of the actual and formal parameters must be compatible. ORA-30625: SELF_IS_NULL Your program attempts to call a MEMBER method on a null instance. That is, the built-in parameter SELF (which is always the first parameter passed to a MEMBER method) is null. ORA-06500: STORAGE_ERROR 存储错误 PL/SQL runs out of memory or memory has been corrupted. PL/SQL运行内存溢出或内存冲突 ORA-06533: SUBSCRIPT_BEYOND_COUNT 子句超出数量 Your program references a nested table or varray element using an index number larger than the number of elements in the collection. ORA-06532: SUBSCRIPT_OUTSIDE_LIMIT 子句非法数量 Your program references a nested table or varray element using an index number (-1 for example) that is outside the legal range. ORA-01410: SYS_INVALID_ROWID 无效的字段名 The conversion of a character string into a universal rowid fails because the character string does not represent a valid rowid. ORA-00051: TIMEOUT_ON_RESOURCE 资源等待超时 A time-out occurs while Oracle is waiting for a resource. ORA-01422: TOO_MANY_ROWS 返回超过一行 A SELECT INTO statement returns more than one row. ORA-06502: VALUE_ERROR 值错误 An arithmetic, conversion, truncation, or size-constraint error occurs. For example, when your program selects a column value into a character variable, if the value is longer than the declared length of the variable, PL/SQL aborts the assignment and raises VALUE_ERROR. In procedural statements, VALUE_ERROR is raised if the conversion of a character string into a number fails. (In SQL statements, INVALID_NUMBER is raised.) ORA-01476: ZERO_DIVIDE 除0错误 |
相关推荐
uniapp+华为HBuilder X 4.29跑鸿蒙模拟器报错没有签名授权
uniapp+华为HBuilder X 4.29跑鸿蒙模拟器报错没有签名授权报错信息11:39:47.976 安装 .hap 到鸿蒙设备 ...11:39:48.517 运行所需的权限没有签名授权,请参考 配置文档11:39:48.517 安装失败。
【已解决】:java.sql.SQLException 问题
【已完美解决】:java.sql.SQLException 问题
四足机器人跨楼层轨迹规划:SCAN-Planner-Pure-ROS2开源项目实践指南
在机器人导航领域,路径规划是让机器人从起点安全、高效移动到目标点的核心技术。其原理通常基于环境地图(如占据栅格地图或八叉树地图),通过搜索算法(如A*、RRT*)在配置空间中找到一条无碰撞的可行路径。这项技术的价值在于赋予机器人在复杂、非结构化环境中的自主移动能力,是巡检、救援、物流等应用场景的基石。对于四足机器人而言,其运动能力超越了轮式平台,能在楼梯、斜坡等三维地形中移动,这使得传统的二维规划不再适用,需要专门的三维轨迹规划算法。SCAN-Planner-Pure-ROS2正是这样一个专注于解决四足机器
已解决java.sql.SQLException异常的正确解决方法,亲测有效!!!
已解决java.sql.SQLException异常的正确解决方法,亲测有效!!!
vmware vsphere5---部署vCSA(VMware vCenter Server)附带第二阶段安装报错解决方案
因为这份文档我是边做边写的,遇到问题重新装了好几次所以IP会很乱ESXI主机为192.168.20.10VCSA为192.168.20.7,后台为192.168.20.7:5480后期请自行对应,后面的192.168.20.57请对应192.168.20.7,或根据自己的来。
AIDC供电系统与算电协同
AIDC供电系统的技术革新为算电协同提供了基础保障,而算电协同则是解决AIDC高能耗问题、推动数字经济可持续发展的关键路径
java.sql.SQLException
Statement stmt = connection.createStatement(); //1 ResultSet QueryF= stmt.executeQuery(sql); //2 while(QueryF.next()) { //3 //分区存在. //查找分区数据. sql="select * from lte2018 partition(...
YOLOv11涨点改进 | 全网创新首发、主干改进篇 | CVPR 2025 | RAVLT主干让 YOLOv11 更加强大!通过增强线性注意力机制,特别在小目标和复杂背景的检测上表现突出
本文提出RAVLT主干网络,通过改进YOLOv11的空间特征建模能力,显著提升小物体和复杂背景检测性能。RAVLT采用秩增强线性注意力(RALA)机制,在保持线性计算复杂度的同时解决传统线性注意力低秩问题。RALA通过增强KV缓冲区和输出特征矩阵的秩,提高特征多样性和建模能力。实验表明,RAVLT在ImageNet-1k上达到84.4% Top-1准确率,仅需2600万参数和4.6GFLOPs,性能优于现有线性注意力模型。文章详细介绍了RAVLT模块结构、实现原理及在YOLOv11中的集成方法,包含四种主干
Oracle关于java.sql.SQLException常见错误集锦 (转)
最近使用Oracle时老是遇到java.sql.SQLException错误,害得我在网上查得累死累活的,所以一口气查了一下几个常见的,在此列了列.英文是来自官方的,用中文简单翻译了一下,有一些实在不知道怎么翻译,也没有尝试重现...
CDD那些事 - DID and SecurityAccess
本文介绍了SecurityAccessSID27的安全访问配置流程:1.通过StateGroups添加Level2群组;2.在Classes定义L2子功能;3.配置4步解锁流程,选择对应解锁等级;4.在DiagnosticInstance设置请求响应。同时说明了DID配置的两种方式:在DIDs页面定义或通过Identification页面创建,前者定义更全面。文章还提到ServiceList支持view/edit模式,其中edit模式可配置DID的多服务支持(如同时支持SID22读取和SID2E写入),但该
YOLO26改进策略【卷积层】| SPD-Conv 针对小目标和低分辨率图像的检测任务
SPD-Conv是一种新的 CNN 构建模块,用于替代传统 CNN 架构中使用的步长卷积(strided convolution)和池化(pooling)层,它由空间到深度(Space-to-depth,SPD)层和非步长卷积(non - strided convolution)层组成。
Oracle错误集锦
自己遇到问题从网络上搜集的答案Oracle版本 9.2.0.1 1 -- 2009-06-12tag: ORA-00600: 内部错误代码,参数: [ttcgcshnd-1], [0], [], [], [], [], [], []解决办法http://blog.csdn.net/lxxstarii/archive/2008/01/08/2030091.aspx错
InTheHand.Net.Personal+BlueTooth4,蓝牙开发
项目中有蓝牙开发的必备dll,现在网上相关的文档博客不少,有的说的多有的说少,但是却很少有这两个dll,分享一下。
SQLException(SQL异常)可能的原因和解决方法
时,可以根据具体情况选择合适的处理方式,可能包括记录错误日志、回滚事务、重新尝试操作等。对于连接、事务和资源的管理要及时释放以避免资源泄漏。确保在数据库操作中进行适当的异常处理,根据异常的类型采取相应的处理措施。详细的错误日志和异常堆栈信息对于定位和解决问题非常有帮助。是在 Java 中处理数据库操作过程中可能发生的异常,通常是由于底层数据库操作错误或违反了数据库规则而引起的。
IMSL CNL 7.0.0 (x86-64)Crack
IMSL CNL 7.0.0 (x86-64)Crack intel的算法库破解文件,这是C++版本的破解文件
廖雪峰Python教程[完整版]
廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白
【Java】已解决java.sql.SQLException异常
在Java中,java.sql.SQLException是一个通用的异常类,用于表示在数据库操作中发生的错误。无论是类型错误、数据类型不匹配,还是其他任何与数据库交互时出现的问题,都可能会抛出这个异常。本文将深入探讨SQLException的背景、可能的原因、错误代码示例、解决方案以及编写数据库代码时需要注意的事项。已解决java.sql.SQLException异常。
lwip-2.0.3
lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。
Cause: java.sql.SQLException: connection closed问题排查、解决
connection closed 获取到的连接已经失效,导致抛出异常: message:com.noahgroup.framework.smart.admin.common.exception.AdminExceptionHandler.handleException:76 - 【exception】: org.springframework.jdbc.UncategorizedSQLException: Error querying database. Cause: java.sql.SQLExcep
Could not insert new row into the table -271
客户现场的现象如下: 查看表的相关信息: oncheck -pt dbname:tabname 明显是发现数据页已经用尽了 为什么会用尽呢?继续排查 查看数据分布的直方图信息:dbschema -d dbname -hd tabname -ss 明显是最近几天的数据量暴涨导致了数据页的用尽。 ...
java,sql.SQLException
java,sql.SQLException的问题所在
java sqlexception_java.sql.SQLException
java.sql.SQLException: ResultSet is closed是什么错误java.sql.SQLException:ResultSetisclosed是什么错误java.sql.SQLException:ResultSetisclosed是什么错误,需要怎么改搜索更多相关的解决方案:java"target="_blank">color="red">javacolo...
java.sql.SQLException: 关闭的连接
最近工作中遇到一个非常奇怪的问题,数据库没有进行补丁修复,应用没有修改过,程序也没有变动过,但是weblogic后台一直报异常,信息如下: java.sql.SQLException: 关闭的连接 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja va:70)
1357



被折叠的 条评论
为什么被折叠?



