Re: Return Codes of BatchUpdateException in PostgreSql 9.6

From: Tillmann Schulz <tillmann73(at)yahoo(dot)de>
To: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Return Codes of BatchUpdateException in PostgreSql 9.6
Date: 2016-10-14 12:48:25
Message-ID: 260702415.782350.1476449305224@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jeremy Whiting 2016-10-14 15:08:42 Re: Return Codes of BatchUpdateException in PostgreSql 9.6
Previous Message Tillmann Schulz 2016-10-14 12:15:31 Re: Return Codes of BatchUpdateException in PostgreSql 9.6