Re: bug with 8.X level 4 driver?

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: Damon Anderson <anderson(at)eclipse(dot)knight-rider(dot)org>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: bug with 8.X level 4 driver?
Date: 2005-12-06 23:02:42
Message-ID: 43961892.6070004@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2005-12-06 23:07:22 Re: pgsql XA with weblogic 8.1?
Previous Message Andres Olarte 2005-12-06 22:33:35 Re: Advise on mapping JTable to large PostgreSQL table