pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Kranti K K Parisa \[GetSet-India\] <kranti.parisa@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: BatchUpdate exception
Date: Wed, 5 Dec 2007 10:36:31 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0712051035140.24930@leary.csoft.net> (raw)
In-Reply-To: <4478b4ac0712050624u18cf3e8en81990c67ddf9da92@mail.gmail.com>
References: <4478b4ac0712050624u18cf3e8en81990c67ddf9da92@mail.gmail.com>



On Wed, 5 Dec 2007, Kranti K K Parisa [GetSet-India] wrote:

> I am trying to add the callable statement into a batch in a for loop. and
> then execute that batch using executeBatch. which throws the following
> exception.
>
> org.postgresql.util.PSQLException: A result was returned when none was
> expected.
>

This was fixed pretty recently and is only available in the 8.3dev series 
of drivers.  Please upgrade and retry.

Kris Jurka




view thread (8+ messages)  latest in thread

Message-ID: <Pine.BSO.4.64.0712051035140.24930@leary.csoft.net>
Permalink:  ../Pine.BSO.4.64.0712051035140.24930@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0712051035140.24930@leary.csoft.net

 · 

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: books@ejurka.com, kranti.parisa@gmail.com
  Subject: Re: BatchUpdate exception
  In-Reply-To: <Pine.BSO.4.64.0712051035140.24930@leary.csoft.net>
  References: <4478b4ac0712050624u18cf3e8en81990c67ddf9da92@mail.gmail.com> <Pine.BSO.4.64.0712051035140.24930@leary.csoft.net>

* 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