From: Tillmann Schulz <tillmann73@yahoo.de>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Return Codes of BatchUpdateException in PostgreSql 9.6
Date: Fri, 14 Oct 2016 12:48:25 +0000 (UTC)
Message-ID: <260702415.782350.1476449305224@mail.yahoo.com> (raw)
References: <260702415.782350.1476449305224.ref@mail.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
>> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: tillmann73@yahoo.de
Subject: Re: Return Codes of BatchUpdateException in PostgreSql 9.6
In-Reply-To: <260702415.782350.1476449305224@mail.yahoo.com>
References: <260702415.782350.1476449305224.ref@mail.yahoo.com> <260702415.782350.1476449305224@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox