3 public class UpdateTest extends PgpoolTest {
4 public void do_test() throws SQLException {
11 for (int i = 0; i < N; i++) {
12 connection.setAutoCommit(false);
13 stmt = connection.createStatement();
14 stmt.executeUpdate("UPDATE up SET a = a + 1" );
18 connection.setAutoCommit(true);
19 stmt = connection.createStatement();
20 rs = stmt.executeQuery("SELECT max(a) FROM up" );
22 logwriter.println(rs.getInt(1));
29 public String getTestName() {