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: (view raw or whole 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 

Kris Jurka

In response to


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-2015 The PostgreSQL Global Development Group