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

From Kris Jurka
Subject Re: patch: streaming of bytea parameter values
Date
Msg-id Pine.BSO.4.56.0405240144490.29972@leary.csoft.net
Whole thread Raw
In response to Re: patch: streaming of bytea parameter values  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: patch: streaming of bytea parameter values
List pgsql-jdbc

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

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Result Set Cursor Patch
Next
From: "Olivier Hubaut"
Date:
Subject: Re: Are there any compatibility problem with using pg74jdbc3.jar with Postgres 7.3?