Closed GoogleCodeExporter closed 8 years ago
Even if closing a result set / prepared statement / statement is thread save,
your application would probably still not work as expected.
> Because Iterator does not provide a close() method
In H2, you don't need to close the result set / prepared statement / statement.
H2 already does that for you if needed. I know in other databases it is
required to avoid memory problems, but not in H2.
What about closing the result set when the last row was read (when
Iterator.hasNext() returns false)?
I will try to make H2 thread-safe so you don't get strange
NullPointerException, but you will still get an exception (object was closed).
Original comment by thomas.t...@gmail.com
on 29 Oct 2010 at 8:17
Fixed in version 1.2.145
You don't get strange NullPointerException, but you probably still get an
exception (object was closed).
Original comment by thomas.t...@gmail.com
on 2 Nov 2010 at 7:29
Original issue reported on code.google.com by
Brett.Mi...@gmail.com
on 24 Oct 2010 at 3:30