pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Damon Anderson <anderson@eclipse.knight-rider.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: bug with 8.X level 4 driver?
Date: Wed, 07 Dec 2005 12:02:42 +1300
Message-ID: <43961892.6070004@opencloud.com> (raw)
In-Reply-To: <0E851503-1490-4B97-93E5-BA7EC64D96E3@fastcrypt.com>
References: <Pine.LNX.4.64.0512060024150.2074@eclipse.knight-rider.org>
	<0E851503-1490-4B97-93E5-BA7EC64D96E3@fastcrypt.com>

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



view thread (4+ messages)

Message-ID: <43961892.6070004@opencloud.com>
Permalink:  ../43961892.6070004@opencloud.com/
Also on:    postgresql.org/message-id/43961892.6070004@opencloud.com

 · 

reply

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, pg@fastcrypt.com, anderson@eclipse.knight-rider.org
  Subject: Re: bug with 8.X level 4 driver?
  In-Reply-To: <43961892.6070004@opencloud.com>
  References: <Pine.LNX.4.64.0512060024150.2074@eclipse.knight-rider.org> <0E851503-1490-4B97-93E5-BA7EC64D96E3@fastcrypt.com> <43961892.6070004@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