Re: jdbc driver Multiple Resultsets - Mailing list pgsql-jdbc

From Peter T Mount
Subject Re: jdbc driver Multiple Resultsets
Date
Msg-id 987520650.3adc5e8a4292a@webmail.retep.org.uk
Whole thread Raw
In response to jdbc driver Multiple Resultsets  ("Rajesh Balla" <bnrajesh@lycos.com>)
List pgsql-jdbc
Quoting Rajesh Balla <bnrajesh@lycos.com>:

> Does the jdbc driver really support Multiple Resultsets?
> If not, does the backend return multiple resultsets(for more than one
> query concatenated together)?

The driver has had the capability for years. However the backend doesn't
support this (AFAIK).

> ie., For a query like
>     ResultSet rs = stmt.executeQuery("select * from table1; select *
> from table2;");

This isn't proper JDBC. Multiple ResultSet's is where a stored procedure
returns them, not multiple queries.

Peter

--
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

pgsql-jdbc by date:

Previous
From: Peter T Mount
Date:
Subject: Re: [GENERAL] Oracle to PostgreSQL
Next
From: Travis Bauer
Date:
Subject: Re: JDBC error in 7.0.3