From: Oliver Jowett <oliver@opencloud.com>
To: Sathyajith G <sathyajith@inbox.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: exception while upgrading driver
Date: Wed, 08 Jun 2005 09:43:53 +1200
Message-ID: <42A61519.1000704@opencloud.com> (raw)
In-Reply-To: <9648E4D3482.000004D1sathyajith@inbox.com>
References: <9648E4D3482.000004D1sathyajith@inbox.com>
Sathyajith G wrote:
> ResultSet rs=Data.getResultSet(qry);
> I changed the driver to postgres 8.0.1. Strangely now, the above code gives
> the exception "The resultset is closed". Please help.
Perhapse Data.getResultSet() closes the Statement used to execute the
query before returning -- closing the Statement also closes the ResultSet.
It's hard to diagnose further without seeing all the code that's running.
-O
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, sathyajith@inbox.com
Subject: Re: exception while upgrading driver
In-Reply-To: <42A61519.1000704@opencloud.com>
References: <9648E4D3482.000004D1sathyajith@inbox.com> <42A61519.1000704@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox