Re: SQLState of BatchUpdateException - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: SQLState of BatchUpdateException
Date
Msg-id alpine.BSO.2.00.0905271955540.21145@leary.csoft.net
Whole thread Raw
In response to SQLState of BatchUpdateException  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-jdbc

On Tue, 26 May 2009, Fujii Masao wrote:

> Unlike PSQLException, BatchUpdateException always doesn't haveSQLState.
> This might cause unexpected behavior, e.g. fireConnectionError() would
> misunderstand that the exception is fatal even if it's a mere
> transaction error.
>
> Here is the patch to add SQLState into BatchUpdateException.
>

Applied back to 8.0.  Thanks.

Kris Jurka


pgsql-jdbc by date:

Previous
From: Jesper Pedersen
Date:
Subject: JDBC on the Wiki
Next
From: Toru SHIMOGAKI
Date:
Subject: Patch to add a socketTimeout property. -- again