Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 105392E31CD for ; Wed, 5 Dec 2007 10:25:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 78383-04 for ; Wed, 5 Dec 2007 10:25:00 -0400 (AST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by postgresql.org (Postfix) with ESMTP id 49D3F2E3175 for ; Wed, 5 Dec 2007 10:25:00 -0400 (AST) Received: by wa-out-1112.google.com with SMTP id m38so7859243waf for ; Wed, 05 Dec 2007 06:24:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=WtyZXqw9DcT+ZEe4j8ibYZtYyjg2lEZHkmy/Xxj+ahQ=; b=Ur61SFTTWbcFgh/OyGpnnQkqIgbaxO25Ar9hjkq50DclQ/5C4yT/H0vYTRzqvubkbagEBEp9w77bWDQWLiSb5o3+7cGoeqC8TrrNFX+FnY7M1jMVrts3rjT5Sj0/NnqP0WnMTZmV/huNEpuw2xDzLzF8Jz0PYC832tqOE/MXEdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type; b=CknHMCn4KnLH+ROIEtkN7Oj3CUhctp3QkISUJJAi1F1kWJpzahk5Hc2r6msOLNN8fnOUhtEqsd8Ks78UqxegaMirMmLnaBcxaQvOoxDp5+O5S18P1jlkd6RUjeLxPPNkWCBIL1jWQD6Rly5NmZHdPEWY9RkV/7kIGBoXI2UxZ5I= Received: by 10.114.154.1 with SMTP id b1mr690265wae.1196864695028; Wed, 05 Dec 2007 06:24:55 -0800 (PST) Received: by 10.114.208.9 with HTTP; Wed, 5 Dec 2007 06:24:54 -0800 (PST) Message-ID: <4478b4ac0712050624u18cf3e8en81990c67ddf9da92@mail.gmail.com> Date: Wed, 5 Dec 2007 19:54:54 +0530 From: "Kranti K K Parisa [GetSet-India]" To: pgsql-jdbc@postgresql.org Subject: BatchUpdate exception MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2723_24937647.1196864694980" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/19 X-Sequence-Number: 17874 ------=_Part_2723_24937647.1196864694980 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, 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. any suggestions? thanks in advance! ------=_Part_2723_24937647.1196864694980 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi,

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.

any suggestions?

thanks in advance!

------=_Part_2723_24937647.1196864694980--