Skip site navigation (1) Skip section navigation (2)

Re: patch: streaming of bytea parameter values

From: Kris Jurka <books(at)ejurka(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: patch: streaming of bytea parameter values
Date: 2004-05-24 06:47:36
Message-ID: Pine.BSO.4.56.0405240144490.29972@leary.csoft.net (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-jdbc by date

Next:From: Olivier HubautDate: 2004-05-24 11:13:25
Subject: Re: Are there any compatibility problem with using pg74jdbc3.jar with Postgres 7.3?
Previous:From: Kris JurkaDate: 2004-05-24 06:38:40
Subject: Re: Result Set Cursor Patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group