s1.execute("INSERT INTO TEST VALUES(1)");
c1.commit();
assertResult("1", s2, "SELECT COUNT(*) FROM TEST");
s1.executeUpdate("DELETE FROM TEST");
PreparedStatement p2 = c2.prepareStatement("select count(*) from test");
rs = p2.executeQuery();
rs.next();
assertEquals(1, rs.getInt(1));
assertResult("1", s2, "SELECT COUNT(*) FROM TEST");
assertResult("0", s1, "SELECT COUNT(*) FROM TEST");
c1.commit();