Closed GoogleCodeExporter closed 9 years ago
A simpler test case:
I can now reproduce the problem. My test case is a bit simpler:
Connection conn = DriverManager.getConnection("jdbc:h2:mem:");
conn.createStatement().execute(
"create table test(id identity) as select null");
for (int i = 1; i < 20; i++) {
System.out.println("i=" + i);
CallableStatement cs = conn.prepareCall(
"{ ? = call IDENTITY()}");
cs.registerOutParameter(1, Types.BIGINT);
cs.execute();
long id = cs.getLong(1);
System.out.println("> id = " + id);
cs.close();
}
Original comment by thomas.t...@gmail.com
on 28 Dec 2013 at 9:47
Should be fixed in the trunk.
Original comment by thomas.t...@gmail.com
on 29 Dec 2013 at 9:05
Fixed in version 1.3.175
Original comment by thomas.t...@gmail.com
on 18 Jan 2014 at 6:17
Original issue reported on code.google.com by
kirill.t...@gmail.com
on 28 Dec 2013 at 6:31