Re: BatchUpdate exception

From: Kris Jurka <books(at)ejurka(dot)com>
To: "Kranti K K Parisa \[GetSet-India\]" <kranti(dot)parisa(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: BatchUpdate exception
Date: 2007-12-05 15:36:31
Message-ID: Pine.BSO.4.64.0712051035140.24930@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kranti K K Parisa [GetSet-India] 2007-12-05 15:52:31 Re: BatchUpdate exception
Previous Message Guillaume Cottenceau 2007-12-05 15:00:30 Re: Timestamp without timezone issue