Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id BA9381337B3E for ; Thu, 31 Mar 2011 18:26:15 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 99967-02 for ; Thu, 31 Mar 2011 21:25:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from web33206.mail.mud.yahoo.com (web33206.mail.mud.yahoo.com [209.191.69.154]) by mail.postgresql.org (Postfix) with SMTP id E055E13364DE for ; Thu, 31 Mar 2011 18:25:57 -0300 (ADT) Received: (qmail 90207 invoked by uid 60001); 31 Mar 2011 21:25:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1301606756; bh=4uYLvUVDXTg65IjVWt+lqQgSVI/zrcbK7wsB89sEzOY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=l3+hEVLz++8gUOPEvGscejETr6zDqOFP6SuIq49Oz8ftesefdgtw8URm5vslvR4FDR7pK/E4E5FgHHx9CDEDjVQbJEXDMlfKsnC/saJuhfpqVlv6OCYJNxyUtUGFWwEMCmS1VePXQq3MBjRPxAXXHWOo8pGyjKwhb+SgLog1rI4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZpKWjSLveV8W1arj91kQ/MNJQF7pNqzr9r3oilFN18W4QKvJGuuZ9nN4GN3gNXkAO0brMYCekTW0Wvch1N/VeNxgqw7+OnRJ9fEHwPCwQhU2ICg3qxloI2FDyEPQo6yQcJq9AKilAjA07P3Xw4qsS3EPTNS6XqkvZt2ZMXkMNag=; Message-ID: <234805.83988.qm@web33206.mail.mud.yahoo.com> X-YMail-OSG: pF8FsaQVM1kTxXCR0jJDgN9yDoj0EYiTleQwFOaZoOcscbP lKBoAQkR_mADQFvwewbkLul8V6Tin0hYYXdd1emJU2oNvrB2PLX9UBnHB0lD TcotDLyAYXjUthE5k7LwuuQahCpq0_1k0SbO9jCJk6HtcPiAKJVyaIgbtxYw hSwGXTJFBN7fhxz241YenvkM3FhE1yQ5mt69HmiP_HQzl55Qo_OlqYwiOZ1d lAL5fLaSrjYWwH4BQx2mjc6P0SLBZBhkfnbf2VRlhwTrn_PAfGKeD5qgqzP3 f67jeqDTRT1eA5zuYizkqIudT_IeDoiyT9mcP7jcnckdQp22WaFXzKldt36l v8CE6adlKXacI912xOMTMHm6Md15JpG46txxse2vp9OxwCfBqca2RxYIV3sI YX3MGeqSsHV2u Received: from [199.84.5.210] by web33206.mail.mud.yahoo.com via HTTP; Thu, 31 Mar 2011 14:25:56 PDT X-Mailer: YahooMailClassic/12.0.2 YahooMailWebService/0.8.109.295617 Date: Thu, 31 Mar 2011 14:25:56 -0700 (PDT) From: Quartz Subject: Re: JDBC gripe list (the autocommit subthread) Cc: pgsql-jdbc@postgresql.org In-Reply-To: <4D94518F020000250003BFE8@gw.wicourts.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.877 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_NONE=-0.0001, RFC_ABUSE_POST=0.001, T_RP_MATCHES_RCVD=-0.01, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201103/161 X-Sequence-Number: 21716 int[] ia =3D batchUpdateException.getUpdateCount()=0A=0A=0A=0A--- On Thu, 3= /31/11, Kevin Grittner wrote:=0A=0A> From: Ke= vin Grittner =0A> Subject: Re: [JDBC] JDBC gri= pe list (the autocommit subthread)=0A> To: "Quartz" = =0A> Cc: pgsql-jdbc@postgresql.org=0A> Received: Thursday, March 31, 2011, = 11:03 AM=0A> Quartz =0A> wrote:=0A> =0A> > If I issue= statement 1, 2 and 3, and statement 2=0A> fails, there is=0A> > no prescri= bed behavior for statement 3, but one sure=0A> thing is the=0A> > statement= 1 must be completed.=0A> =0A> I don't see how executeBatch can both throw= the documented=0A> exception=0A> (BatchUpdateException) and return the int= [] which would=0A> tell you=0A> what completed.=A0 It doesn't seem to me to= make sense=0A> to complete=0A> some unknown mystery subset of the statemen= ts, so the only=0A> sane=0A> behavior is to apply none if the documented ex= ception is=0A> thrown.=0A> =0A> -Kevin=0A>