Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D8F0B2E00A7 for ; Wed, 5 Dec 2007 11:36:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 09055-02 for ; Wed, 5 Dec 2007 11:36:17 -0400 (AST) Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 8859C2E0057 for ; Wed, 5 Dec 2007 11:36:35 -0400 (AST) Received: (qmail 30801 invoked by uid 1112); 5 Dec 2007 15:36:31 -0000 Date: Wed, 5 Dec 2007 10:36:31 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "Kranti K K Parisa \[GetSet-India\]" cc: pgsql-jdbc@postgresql.org Subject: Re: BatchUpdate exception In-Reply-To: <4478b4ac0712050624u18cf3e8en81990c67ddf9da92@mail.gmail.com> Message-ID: References: <4478b4ac0712050624u18cf3e8en81990c67ddf9da92@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/20 X-Sequence-Number: 17875 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