Re: patch: streaming of bytea parameter values - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: patch: streaming of bytea parameter values
Date
Msg-id 1085485132.1591.129.camel@localhost.localdomain
Whole thread Raw
In response to Re: patch: streaming of bytea parameter values  (Kris Jurka <books@ejurka.com>)
Responses Re: patch: streaming of bytea parameter values
List pgsql-jdbc
We previously had a discussion about how to deal with this code, I think
before this is committed I'd like to tag the code. Just so we can have a
cvs version that folks can checkout while we sort out the issues with
this.

Dave
On Mon, 2004-05-24 at 02:47, Kris Jurka wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>
>
> !DSPAM:40b19bce197952303717472!
>
>
--
Dave Cramer
519 939 0336
ICQ # 14675561


pgsql-jdbc by date:

Previous
From: "Olivier Hubaut"
Date:
Subject: Re: Are there any compatibility problem with using pg74jdbc3.jar with Postgres 7.3?
Next
From: Kris Jurka
Date:
Subject: Re: patch: streaming of bytea parameter values