On Mar 28, 10:17 am, Aivar <[email protected]> wrote:
> Did I understood correcty that when I need to use 2 ResultSet-s
> (originating from same SELECT query) simultaneously, then I need to
> prepare 2 different PreparedStatement-s ?

Yes.

On Mar 28, 11:22 am, Aivar <[email protected]> wrote:
> Cool, I got it working! :)
>
> Just had to get rid of my manual PreparedStatement pooling. I just
> didn't know about JDBC statement pooling :)

Neither I did. Is there something like this? IMHO, it's just that "A
ResultSet object is automatically closed when the Statement object
that generated it is closed, re-executed, or...".

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to