解决Hsqldb指针只能单向移动,不能回滚问题(.first())

时间:2014-07-14 09:15:09   收藏:0   阅读:220

Class.forName("org.hsqldb.jdbcDriver").newInstance();
Connection con = java.sql.DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hadoop", "sa", "");
Statement stmt1 = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);

解决Hsqldb指针只能单向移动,不能回滚问题(.first()),布布扣,bubuko.com

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!