Re: exception while upgrading driver

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Sathyajith G <sathyajith(at)inbox(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: exception while upgrading driver
Date: 2005-06-07 21:43:53
Message-ID: 42A61519.1000704@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2005-06-07 21:46:38 Re: exception while upgrading driver
Previous Message Oliver Jowett 2005-06-07 21:42:14 Re: 8.x driver with EJB CMP