Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 4E0A09FB2FD for ; Mon, 7 May 2007 08:08:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 28925-10 for ; Mon, 7 May 2007 08:07:58 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by postgresql.org (Postfix) with ESMTP id B8BD99FB2F5 for ; Mon, 7 May 2007 08:08:02 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id d17so102203and for ; Mon, 07 May 2007 04:08:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=acX1RgRFm25gilTWW3kD6TIhcLO8ZpZ/KYCHR+c3/B2jAHeJ0kmPcocEBj6G5az66cgDBbZK7O69TE9I8Vd0/cUwykcxu8Hq621rR9ShUzTHP7vDdllv7WglI8Aevtwpckz2Gb6m1EiSBaqIwNbsKptwzzQ2tl2x0ihtrv4zOpk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=e/NpM/b8Yb8RNHeFkM7FSMIc8PYcKdx1v1gXasar8/9cHWEL7qPZB3+RjQdjKMIygKYRihHnegmg4xcjBe8lFy8ZeH710DRZMk5Im5AJ6k7WY4gfyC4SHguvaToRRCl68dAO/nRPL4EO7wRr5032wTPR/5jNdWltowsSY8GnQPQ= Received: by 10.100.111.16 with SMTP id j16mr4650124anc.1178536081605; Mon, 07 May 2007 04:08:01 -0700 (PDT) Received: by 10.100.216.9 with HTTP; Mon, 7 May 2007 04:08:01 -0700 (PDT) Message-ID: <4478b4ac0705070408s7a09a038w5d7f846f3f6fb20e@mail.gmail.com> Date: Mon, 7 May 2007 16:38:01 +0530 From: "Kranti Parisa" To: "Dave Cramer" Subject: Re: Problem with Utilizing executeBatch() with stored procedures Cc: pgsql-jdbc@postgresql.org, guyr-ml1@burntmail.com In-Reply-To: <76AE553D-DCEA-4623-B78B-CD6BED35EB49@fastcrypt.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_89155_15028534.1178536081559" References: <4478b4ac0705070056p469415d7ib6a1e746de7a0921@mail.gmail.com> <76AE553D-DCEA-4623-B78B-CD6BED35EB49@fastcrypt.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/28 X-Sequence-Number: 17018 ------=_Part_89155_15028534.1178536081559 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am using the following driver with PostgreSQL 8.1 version postgresql-8.1-406.jdbc3.jar Please let me know if the version is correct. Regards Kranti On 5/7/07, Dave Cramer wrote: > > 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 > > > > -- ------------------ Best Regards Kranti Kiran Kumar Parisa Mobile: +91 - 9849 - 625 - 625 +91 - 9391 - 438 - 738 ------=_Part_89155_15028534.1178536081559 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I am using the following driver with PostgreSQL 8.1 version

postgresql-8.1-406.jdbc3.jar

Please let me know if the version is correct.

Regards
Kranti

On 5/7/07, Dave Cramer <pg@fastcrypt.com> wrote:
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
>




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