Re: Connection Properties for FetchSize and Autocommit

Поиск
Список
Период
Сортировка
От David Langton
Тема Re: Connection Properties for FetchSize and Autocommit
Дата
Msg-id 7c49e7040910120935p16a9bd25p5dea5098a04a6e5f@mail.gmail.com
обсуждение исходный текст
Ответ на Connection Properties for FetchSize and Autocommit  (David Langton <djlangton+pgjdbc@googlemail.com>)
Список pgsql-jdbc
>
> The issue I see is that it can cause silent data loss. An application that
> expects the documented API default - autocommit on - and just does some
> UPDATEs is going to throw away all its changes if autocommit is mysteriously
> off by default, because it's never going to call commit().
>
> -O
>

Yes, of course you are right and it would be very bad indeed.  I guess
I wasn't thinking of the impact properly (the app I am working with
isn't doing updates).

Maybe I'll revisit this again one day, but think about it a bit more first!

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Connection Properties for FetchSize and Autocommit
Следующее
От: "Carsten Klein (tarent)"
Дата:
Сообщение: Re: TimeZone related issues in org.postgresql.jdbc2.TimestampUtils