Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group