Re: Connection.setReadOnly()

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Connection.setReadOnly()
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C2039380B6@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: Connection.setReadOnly()  (Greg Stark <gsstark@mit.edu>)
Список pgsql-jdbc
Greg Stark wrote:
>>> Does the Oracle driver not follow the JDBC spec here? Or is it just that
>>> long-term open transactions don't cause problems on Oracle?
>>
>> the latter
>
> Well eventually on Oracle you would get a "Snapshot too old" error.

Only if the long reading transaction has isolation level
SERIALIZABLE, because with READ COMMITTED it will not need very
old rows from the UNDO tablespace.

Yours,
Laurenz Albe

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Connection.setReadOnly()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Connection.setReadOnly()