Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 356799FB66B for ; Mon, 7 May 2007 07:47:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 19271-05 for ; Mon, 7 May 2007 07:47:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from beaver.fastcrypt.com (beaver.fastcrypt.com [64.7.141.17]) by postgresql.org (Postfix) with ESMTP id 99F319FB5D1 for ; Mon, 7 May 2007 07:47:19 -0300 (ADT) Received: from [192.168.1.14] (dcdsl.ebox.com [64.7.143.116]) by beaver.fastcrypt.com (Postfix) with ESMTP id 2F357158064D; Mon, 7 May 2007 06:53:54 -0400 (EDT) In-Reply-To: <4478b4ac0705070056p469415d7ib6a1e746de7a0921@mail.gmail.com> References: <4478b4ac0705070056p469415d7ib6a1e746de7a0921@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <76AE553D-DCEA-4623-B78B-CD6BED35EB49@fastcrypt.com> Cc: pgsql-jdbc@postgresql.org, guyr-ml1@burntmail.com Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Problem with Utilizing executeBatch() with stored procedures Date: Mon, 7 May 2007 06:47:23 -0400 To: Kranti Parisa X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/21 X-Sequence-Number: 17011 It's been fixed in the lastest version. Dave On 7-May-07, at 3:56 AM, Kranti Parisa wrote: > Hi, > > I saw few threads about this topic, but not able to get the > solution. Please help me how can we solve this problem. > I have a stored procedure which has to execute for all the given > employee ids. so i want to do that as a batch to get performance. > > but i am getting this error > > org.postgresql.util.PSQLException: A result was returned when none > was expected > > A million thanks in advance.. > Hoping for a quick reply > > ------------------ > Best Regards > Kranti Kiran Kumar Parisa >