Re: jdbc driver Multiple Resultsets

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: bnrajesh(at)lycos(dot)com, Rajesh Balla <bnrajesh(at)lycos(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: jdbc driver Multiple Resultsets
Date: 2001-04-17 15:17:30
Message-ID: 987520650.3adc5e8a4292a@webmail.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Quoting Rajesh Balla <bnrajesh(at)lycos(dot)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(at)retep(dot)org(dot)uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Travis Bauer 2001-04-17 16:10:52 Re: JDBC error in 7.0.3
Previous Message Peter T Mount 2001-04-17 13:59:16 Re: Oracle to PostgreSQL