Re: BatchUpdate exception

From: "Kranti K K Parisa [GetSet-India]" <kranti(dot)parisa(at)gmail(dot)com>
To: "Kris Jurka" <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: BatchUpdate exception
Date: 2007-12-05 15:52:31
Message-ID: 4478b4ac0712050752kae43d65p46c5c08645d1e755@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi Kris,

Thanks for the reply.

We are using Postgres 8.1 version. Does this mean we need to upgrade the
database version also? or can use the driver with latest release?

On Dec 5, 2007 9:06 PM, Kris Jurka <books(at)ejurka(dot)com> wrote:

>
>
> 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
>
>

--
------------------
Best Regards
Kranti Kiran Kumar Parisa
Mobile: +91 - 9849 - 625 - 625
+91 - 9391 - 438 - 738

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2007-12-05 15:53:11 Re: Timestamp without timezone issue
Previous Message Kris Jurka 2007-12-05 15:36:31 Re: BatchUpdate exception