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
时间: 2024-11-07 21:04:26