Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D37FD9FB6A7 for ; Mon, 7 May 2007 04:56:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 05636-01 for ; Mon, 7 May 2007 04:56:25 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by postgresql.org (Postfix) with ESMTP id F1FF09FB643 for ; Mon, 7 May 2007 04:56:27 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id d17so93330and for ; Mon, 07 May 2007 00:56:27 -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:mime-version:content-type; b=oaIFLlK7aMAmnENnnyF/ZEYQzoq7Vf3XZ9VffrPZrISa+r+jtIAA/Axr+xyUkfGSRvI84ayfGfEbiXenXvr3KdJUiAd4BZtfPYhB55ri/xUS9kwRMGCJFgyb00irE23tbE2JkXBfeB7D1zpIFC2qhnCl1MnAIgX9HvxITQiCdY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=rpXFaP6TNZ/x80fXmR1nGqVKhs45pTGFqteCKpNe6cTwf1f4QJf2JNS1E8Np4GNbRwU/JDrhj7NSfzq05WMxdN/SaBrDGPqlwjCmhO4R3UgU+Pqg7acajvyRaB9NDfOAyvNnDc6oo1XIsQ6d+FvnNS/Gy2knkyEWU66odExOXgY= Received: by 10.100.93.5 with SMTP id q5mr4533165anb.1178524587116; Mon, 07 May 2007 00:56:27 -0700 (PDT) Received: by 10.100.216.9 with HTTP; Mon, 7 May 2007 00:56:26 -0700 (PDT) Message-ID: <4478b4ac0705070056p469415d7ib6a1e746de7a0921@mail.gmail.com> Date: Mon, 7 May 2007 13:26:26 +0530 From: "Kranti Parisa" To: pgsql-jdbc@postgresql.org, pg@fastcrypt.com, guyr-ml1@burntmail.com Subject: Problem with Utilizing executeBatch() with stored procedures Cc: "Kranti Parisa" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_86277_11270486.1178524586998" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/26 X-Sequence-Number: 17016 ------=_Part_86277_11270486.1178524586998 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_86277_11270486.1178524586998 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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

------=_Part_86277_11270486.1178524586998--