pg.ddx.io pgsql-jdbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: patch: streaming of bytea parameter values
Date: Mon, 24 May 2004 01:47:36 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0405240144490.29972@leary.csoft.net> (raw)
In-Reply-To: <40B124EF.1040000@opencloud.com>
References: <4085F25A.8060009@opencloud.com>
<Pine.BSO.4.56.0405220222030.20695@leary.csoft.net>
<40AF1DDE.90206@opencloud.com>
<Pine.BSO.4.56.0405221233190.20327@leary.csoft.net>
<40AFEF74.6080904@opencloud.com>
<Pine.BSO.4.56.0405230137560.5520@leary.csoft.net>
<40B07890.6090906@opencloud.com>
<Pine.BSO.4.56.0405231441080.5428@leary.csoft.net>
<40B124EF.1040000@opencloud.com>
On Mon, 24 May 2004, Oliver Jowett wrote:
> The implementation of SQLState (or connectionErrorOccurred) across
> different drivers is quite patchy. When writing portable applications
> (or even driver-specific applications, to a lesser extent) you have to
> assume that any SQLException you don't specifically recognize means your
> connection is toast.
>
I think a reasonable coding method would be to catch an SQLException try
to rollback and if that throws an Exception then you give up the
Connection.
Kris Jurka
view thread (15+ messages) latest in thread
Message-ID: <Pine.BSO.4.56.0405240144490.29972@leary.csoft.net> Permalink: ../Pine.BSO.4.56.0405240144490.29972@leary.csoft.net/ Also on: postgresql.org/message-id/Pine.BSO.4.56.0405240144490.29972@leary.csoft.net ·
reply
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, oliver@opencloud.com Subject: Re: patch: streaming of bytea parameter values In-Reply-To: <Pine.BSO.4.56.0405240144490.29972@leary.csoft.net> References: <4085F25A.8060009@opencloud.com> <Pine.BSO.4.56.0405220222030.20695@leary.csoft.net> <40AF1DDE.90206@opencloud.com> <Pine.BSO.4.56.0405221233190.20327@leary.csoft.net> <40AFEF74.6080904@opencloud.com> <Pine.BSO.4.56.0405230137560.5520@leary.csoft.net> <40B07890.6090906@opencloud.com> <Pine.BSO.4.56.0405231441080.5428@leary.csoft.net> <40B124EF.1040000@opencloud.com> <Pine.BSO.4.56.0405240144490.29972@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