Re: patch: streaming of bytea parameter values
От | Dave Cramer |
---|---|
Тема | Re: patch: streaming of bytea parameter values |
Дата | |
Msg-id | 1085485132.1591.129.camel@localhost.localdomain обсуждение исходный текст |
Ответ на | Re: patch: streaming of bytea parameter values (Kris Jurka <books@ejurka.com>) |
Ответы |
Re: patch: streaming of bytea parameter values
|
Список | 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 по дате отправления: