Re: patch: streaming of bytea parameter values

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: patch: streaming of bytea parameter values
Дата
Msg-id Pine.BSO.4.56.0405240144490.29972@leary.csoft.net
обсуждение исходный текст
Ответ на Re: patch: streaming of bytea parameter values  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: patch: streaming of bytea parameter values
Список 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 по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Result Set Cursor Patch
Следующее
От: "Olivier Hubaut"
Дата:
Сообщение: Re: Are there any compatibility problem with using pg74jdbc3.jar with Postgres 7.3?