2008年2月14日

摘要: 当Web层和Struts整合后,就抛出如下异常: %%%% Error Creating SessionFactory %%%% java.lang.SecurityException: class "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer in... 阅读全文
posted @ 2008-02-14 20:16 Fei飞 阅读(951) 评论(0) 推荐(0) 编辑
 
摘要: rs.absolute(...)允许你指定结果集的绝对位置, 如果没有它,假如你要取第1000条记录的数据,就只能rs.next()1000次了:) rs.isAfterLast()是一种特殊的状态,表征已到达结果集的结尾,此时你如果调用rs.next()就会抛出异常 rs.next();//向后滚动 rs.getRow();//得到当前行号 rs.absolute(n);//光标定位到n行 rs... 阅读全文
posted @ 2008-02-14 00:29 Fei飞 阅读(244) 评论(0) 推荐(0) 编辑