Re: How to set transaction isolation level for the given transaction only.

Поиск
Список
Период
Сортировка
От Andy Fan
Тема Re: How to set transaction isolation level for the given transaction only.
Дата
Msg-id CAKU4AWpgmShzR+2ZWsD6dK3U7db-YfBo-g257r-rHs9RTz2w-A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to set transaction isolation level for the given transaction only.  (Steven Schlansker <stevenschlansker@gmail.com>)
Ответы Re: How to set transaction isolation level for the given transaction only.  (Rob Bygrave <robin.bygrave@gmail.com>)
Список pgsql-jdbc


On Thu, Aug 13, 2020 at 11:16 PM Steven Schlansker <stevenschlansker@gmail.com> wrote:
Maybe there's a neat way of doing this in the driver I'm not aware of, but usually this is left to the job of a higher level library or class you write yourself.

To shamelessly plug my own, Jdbi handles this nicely:
http://jdbi.org/apidocs/org/jdbi/v3/core/Handle.html#inTransaction-org.jdbi.v3.core.transaction.TransactionIsolationLevel-org.jdbi.v3.core.HandleCallback-


Thanks for the info,  I will try the similar on my own. 


--
Best Regards
Andy Fan

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

Предыдущее
От: Steven Schlansker
Дата:
Сообщение: Re: How to set transaction isolation level for the given transaction only.
Следующее
От: Rob Bygrave
Дата:
Сообщение: Re: How to set transaction isolation level for the given transaction only.