![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ERROR
nyhing
这个作者很懒,什么都没留下…
展开
-
ORA-01422: 实际返回的行数超出请求的行数
如果select的结果作为返回值,多于1条记录的时候,会出现“ORA-01422: 实际返回的行数超出请求的行数” ORA-01422: exact fetch returns more than requested number of rows ...2009-06-21 11:33:34 · 1606 阅读 · 0 评论 -
用尽的 Resultset
用尽的 Resultset 出现的几种情况: 1、 没有判断游标是否已经到了最后一个。在最后一条记录取出后仍然调用rs.next(); 2 、ResultSet定义为全局变量。多个数据集共用一个结果集; 3 、ResultSet rs = stmt.executeQuery(sql); 这个方法写完后一定要先判断rs是否为null。如果没有结果集仍然调用rs.next(...2009-06-22 15:21:57 · 210 阅读 · 0 评论 -
log4j:WARN Please initialize the log4j system prop
log4j:WARN Please initialize the log4j system properly. 解决办法: log4j.properties文件需要放到web-inf/class目录下面,在eclipse里面放到src目录下面,会自动拷贝到class目录下面去。...2009-06-28 12:07:26 · 205 阅读 · 0 评论