Re: bug with 8.X level 4 driver? - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: bug with 8.X level 4 driver?
Date
Msg-id 43961892.6070004@opencloud.com
Whole thread Raw
In response to Re: bug with 8.X level 4 driver?  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
Dave Cramer wrote:

> Try using batches instead. The new driver can no longer do multiple
> statements that way.

It can handle this sort of multiple statement just fine, actually.

However, the driver now correctly follows the JDBC spec, and you must
use getMoreResults() to skip past the update counts returned by the
INSERT to get at the actual ResultSet-returning query, then use
getResultSet().

-O

pgsql-jdbc by date:

Previous
From: Andres Olarte
Date:
Subject: Re: Advise on mapping JTable to large PostgreSQL table
Next
From: Oliver Jowett
Date:
Subject: Re: pgsql XA with weblogic 8.1?