4 public class SelectTest extends PgpoolTest {
5 public void do_test() throws SQLException {
7 for (int i = 0; i < 1; i++) {
8 connection.setAutoCommit(false);
10 PreparedStatement pstmt = null;
13 pstmt = connection.prepareStatement("SELECT count(*) FROM sel");
14 rs = pstmt.executeQuery();
16 logwriter.println(rs.getInt(1));
20 pstmt = connection.prepareStatement("SELECT sum(a) FROM sel");
21 rs = pstmt.executeQuery();
23 logwriter.println(rs.getInt(1));
34 public String getTestName() {