Re: exception while upgrading driver - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: exception while upgrading driver
Date
Msg-id 42A61519.1000704@opencloud.com
Whole thread Raw
In response to exception while upgrading driver  (Sathyajith G <sathyajith@inbox.com>)
List 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

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: 8.x driver with EJB CMP
Next
From: Oliver Jowett
Date:
Subject: Re: exception while upgrading driver