Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 904899FB409 for ; Fri, 3 Aug 2007 21:58:35 -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 13690-09 for ; Fri, 3 Aug 2007 21:58:21 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by postgresql.org (Postfix) with ESMTP id 046899FB366 for ; Fri, 3 Aug 2007 21:58:31 -0300 (ADT) Received: by fk-out-0910.google.com with SMTP id b27so929962fka for ; Fri, 03 Aug 2007 17:58:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:organization:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=sxDmDRz3T7RP9nQaCWmKdwUe7HlDKj4oCQBvcZRUy6Yuvxn0/UHkvDcn1WJq04mmGcSnASoV2vEQNpzyXaBdbYzCPHoKCyCPBh0NBck+TzZ8vY1IigC91wykarzIfxHL6mw5njK7vJG3bB1KjpOS7cdujjWS7Se3EyyKriqd2Bo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:organization:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=EIOCl6Hcg/agccQCbjpWy4gtpOd+K8GaNlsQWrKp3zRP45QSKBGSUIuMwCFcy5gs9CWudHKHqUlA2mRk3Ev2ko5yh4BjhmuRnCbWFK49syG4XaK35NOzAv+xrlNDo/Dx9XIuYAzOt6CdBL0H6FvHvx8rrSwUKxgre58r7WhFhcg= Received: by 10.86.73.17 with SMTP id v17mr2664093fga.1186189110232; Fri, 03 Aug 2007 17:58:30 -0700 (PDT) Received: from ?192.168.1.212? ( [81.196.40.147]) by mx.google.com with ESMTPS id f19sm7410340fka.2007.08.03.17.58.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Aug 2007 17:58:29 -0700 (PDT) Message-ID: <46B3CF30.4030505@gmail.com> Date: Sat, 04 Aug 2007 03:58:24 +0300 From: =?ISO-8859-1?Q?Albert_L=E1szl=F3-R=F3bert?= Reply-To: albertlaszlorobert@gmail.com Organization: RSoft Solutions S.R.L. User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Oliver Jowett CC: pgsql-jdbc@postgresql.org Subject: Re: PSQLException: Too many update results were returned. References: <373352.78463.qm@web32701.mail.mud.yahoo.com> <46B3CBA0.3040203@opencloud.com> In-Reply-To: <46B3CBA0.3040203@opencloud.com> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/23 X-Sequence-Number: 17336 Oliver Jowett wrote: > Albert Laszlo-Robert wrote: > >> org.postgresql.util.PSQLException: Too many update results were >> returned. > > At a guess maybe you are adding statements to the batch that are > actually semicolon-separated statements? I don't know if the batch > code understands that. > > -O > yes, the statements are semicolon-separated. than you have some idea how to make it to work? note: if i use a simple executeUpdate for multiple inserts that are semicolon-separated, than they work. albertlr