Re: BatchUpdate exception - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: BatchUpdate exception
Date
Msg-id Pine.BSO.4.64.0712051035140.24930@leary.csoft.net
Whole thread Raw
In response to BatchUpdate exception  ("Kranti K K Parisa [GetSet-India]" <kranti.parisa@gmail.com>)
Responses Re: BatchUpdate exception  ("Kranti K K Parisa [GetSet-India]" <kranti.parisa@gmail.com>)
List 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


pgsql-jdbc by date:

Previous
From: "Kranti K K Parisa [GetSet-India]"
Date:
Subject: BatchUpdate exception
Next
From: Kris Jurka
Date:
Subject: Re: Timestamp without timezone issue