From: Kris Jurka <books@ejurka.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: SQLState of BatchUpdateException
Date: Wed, 27 May 2009 19:56:19 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.0905271955540.21145@leary.csoft.net> (raw)
In-Reply-To: <3f0b79eb0905252100hef29e77k8230f8fd49bec067@mail.gmail.com>
References: <3f0b79eb0905252100hef29e77k8230f8fd49bec067@mail.gmail.com>
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
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: books@ejurka.com, masao.fujii@gmail.com
Subject: Re: SQLState of BatchUpdateException
In-Reply-To: <alpine.BSO.2.00.0905271955540.21145@leary.csoft.net>
References: <3f0b79eb0905252100hef29e77k8230f8fd49bec067@mail.gmail.com> <alpine.BSO.2.00.0905271955540.21145@leary.csoft.net>
* 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