Re: SQLState of BatchUpdateException

From: Kris Jurka <books(at)ejurka(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: SQLState of BatchUpdateException
Date: 2009-05-27 23:56:19
Message-ID: alpine.BSO.2.00.0905271955540.21145@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Toru SHIMOGAKI 2009-05-28 07:47:37 Patch to add a socketTimeout property. -- again
Previous Message Jesper Pedersen 2009-05-26 16:56:48 JDBC on the Wiki