Re: Return Codes of BatchUpdateException in PostgreSql 9.6 - Mailing list pgsql-jdbc

From Tillmann Schulz
Subject Re: Return Codes of BatchUpdateException in PostgreSql 9.6
Date
Msg-id 260702415.782350.1476449305224@mail.yahoo.com
Whole thread Raw
In response to Return Codes of BatchUpdateException in PostgreSql 9.6  (Tillmann Schulz <tillmann73@yahoo.de>)
List 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.


pgsql-jdbc by date:

Previous
From: Tillmann Schulz
Date:
Subject: Re: Return Codes of BatchUpdateException in PostgreSql 9.6
Next
From: Jeremy Whiting
Date:
Subject: Re: Return Codes of BatchUpdateException in PostgreSql 9.6