Re: ERROR: SET TRANSACTION ISOLATION LEVEL must be called before any query

Поиск
Список
Период
Сортировка
От David Wall
Тема Re: ERROR: SET TRANSACTION ISOLATION LEVEL must be called before any query
Дата
Msg-id 003501c0cac0$00217c60$5a2b7ad8@expertrade.com
обсуждение исходный текст
Ответ на ERROR: SET TRANSACTION ISOLATION LEVEL must be called before any query  ("David Wall" <d.wall@computer.org>)
Список pgsql-interfaces
> Message:   ERROR:  SET TRANSACTION ISOLATION LEVEL must be called before
any query

Oops.  Sorry.  It looks like it was a bug in the connection pool class that
I've been magically using for a couple of years now.  Apparently the usage
just never ran into the problem, or there's a difference in the Tomcat
servlet engine I'm using that was driving the database.  The code was
reusing the connection for all pool calls from the same thread, and this
somehow created the conflict, probably because of the threadpools used in
Tomcat.

David



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

Предыдущее
От: "David Wall"
Дата:
Сообщение: ERROR: SET TRANSACTION ISOLATION LEVEL must be called before any query
Следующее
От: Lonnie Cumberland
Дата:
Сообщение: removing extraneous objects?