ResultSet.TYPE_SCROLL_SENSITIVE表示返回的ResultSet游标可以前后回滚到一个绝对位置或相对于当前行的某位置
ResultSet.CONCUR_UPDATABLE表示返回的ResultSet是可修改的
例:
rs.absolute(5); // moves the cursor to the fifth row of rs
rs.updateString("NAME", "AINSWORTH"); // updates the
// NAME column of row 5 to be AINSWORTH
rs.updateRow(); // updates the row in the data source
ResultSet.CONCUR_UPDATABLE表示返回的ResultSet是可修改的
例:
rs.absolute(5); // moves the cursor to the fifth row of rs
rs.updateString("NAME", "AINSWORTH"); // updates the
// NAME column of row 5 to be AINSWORTH
rs.updateRow(); // updates the row in the data source
解决方案 »
- hibernate保存date类型出错
- JSP编码问题
- Servlet向JSP传值问题
- 最近可能要做公司网站(java)需要先了解和学习什么
- struts2的一个action对应多个success result的问题
- spring 空指针异常
- 在oracle网站上下载了ojdc14.jar,但是?
- 关于异常的问题
- 请教在struts 里,在JSP页面里有一个参数对应多个数据。在FORMBEANA 和ACTIIONBEAN里怎么取值?
- 请问jsp中,<%@include file="aa.jsp"%>和<jsp:include page="aa.jsp" flush="true"/>有什么区别?
- JSP连接Access/SQLserver分别有那些方式?各种方式的效率、资源耗用情况如何?
- 我发现我用Tomcat有时不响应了,是不是Tomcat不稳定?我用的是4.1.8
向上向下