Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv1un-0000rY-FF for pgsql-jdbc@arkaria.postgresql.org; Fri, 14 Oct 2016 12:48:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bv1um-0003y9-PL for pgsql-jdbc@arkaria.postgresql.org; Fri, 14 Oct 2016 12:48:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bv1um-0003xl-82 for pgsql-jdbc@postgresql.org; Fri, 14 Oct 2016 12:48:44 +0000 Received: from nm39-vm2.bullet.mail.ir2.yahoo.com ([212.82.97.161]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bv1ui-00069Y-IJ for pgsql-jdbc@postgresql.org; Fri, 14 Oct 2016 12:48:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1476449318; bh=TxgT5PEwvNklZzQhorbYfaRrHai/s6PaqccDOfPqHrk=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=otYxSUYBU8XwnKSmECutnbQpKllcSrRqkqDIt7+NfekHucbp0hH72V/ha3Q/bytqflduxh/MgaRI5edOvwu9PzBe0VIjWZKVGOYsJCAWRywej2CrjUOpBwg5IdPTx5cFNT1MYpOgHKvx1ak4gormQjFI020bVbaNXrXHXAbWy6U1AbtsQmx4ADOksScNBKM8F3NXGjMLJWBTZMBOvVNCxDehn5hBmPcvGxpd+0/boeAeia7guLh1RxI7jExH5TkDuLNOmaR6ckkZ4vyWpSSCBxW7+REIkL+X/YIl6BojmMea3iojSWnPvF8uB4RA8F4TIr6eSlYKSdB1iDQQvfUXmw== Received: from [212.82.98.49] by nm39.bullet.mail.ir2.yahoo.com with NNFMP; 14 Oct 2016 12:48:38 -0000 Received: from [212.82.98.111] by tm2.bullet.mail.ir2.yahoo.com with NNFMP; 14 Oct 2016 12:48:38 -0000 Received: from [127.0.0.1] by omp1048.mail.ir2.yahoo.com with NNFMP; 14 Oct 2016 12:48:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 274828.86709.bm@omp1048.mail.ir2.yahoo.com X-YMail-OSG: FERyqUMVM1knGox0AI7jqWz0dtmNeK2ltWmCEuxVSDRFYr0JB72oMN0euxvW0K. AR0miwvQdPD8eqA67REa6V0sHdHGAdsKEiEnMgQlW9NRkNwkbnTgiH9lU1YlzC5lDOLgsh.1q0L0 JgoiFhRNc_qmck0p_YA58zTxhCLcGOBst50nA3rhYFHrG3q3b_0hKp0xJQg2oog0xe38_31ClHaG n7gnkVwzQJrm6T5WrKkoXzjqiwpqUHmBIAL5dK6iRf1jEsem.UceJ7tt8a2FTnBC013troWkQbBS NqST.oJNIT7RCUms7zHluAn99nFzI7dMeSoeynadWbAw5Ep.G.Cy7R_Ouaj3aJkSM_JLM9sMRnOF OBEJbm4PqKO.xgtTGm89l61MkBUXN8dkEAdoRXrG2gv7xrRl4eVmpQBxygy4HulVBn_JTHdpGeik 5N3pcpOuu9wIv0pbQ6upkVVIb3UMkYLJ33Uai4QhsJ0_eUJ6eR_wIOzGtk4ZAkWPj479QWubjF2p yQ5GgE9EjQfyoddjyiw-- Received: from jws700027.mail.ir2.yahoo.com by sendmailws165.mail.ir2.yahoo.com; Fri, 14 Oct 2016 12:48:37 +0000; 1476449317.709 Date: Fri, 14 Oct 2016 12:48:25 +0000 (UTC) From: Tillmann Schulz Reply-To: Tillmann Schulz To: "pgsql-jdbc@postgresql.org" Message-ID: <260702415.782350.1476449305224@mail.yahoo.com> Subject: Re: Return Codes of BatchUpdateException in PostgreSql 9.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <260702415.782350.1476449305224.ref@mail.yahoo.com> Content-Length: 323 X-Pg-Spam-Score: -1.5 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org >> updateCounts[0]=1 >> updateCounts[1]=1 >> updateCounts[2]=1 >> updateCounts[3]=1 >> updateCounts[4]=1 >> -->correct >The value 1 is the batched statement return code for >j.s.Statement.SUCCESS_NO_INFO I think the value 1 is the update count ( 1 statement successfully inserted) Statement.SUCCESS_NO_INFO has code -2. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc