Re: org.postgresql.util.PSQLException: The column name x was

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: org.postgresql.util.PSQLException: The column name x was
Дата
Msg-id 42B1F4D0.7060104@opencloud.com
обсуждение исходный текст
Ответ на org.postgresql.util.PSQLException: The column name x was not found in this ResultSet.  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-jdbc
Kevin Grittner wrote:
>
> Given the circumstances, it looks like some race
> condition between the multiple JDBC threads might be involved.

Seems unlikely -- the JDBC driver spawns no threads itself (except for
one at connection time if you specify a login timeout, but that's dead
by the time the connection is established) and the objects involved in a
connection should be entirely independent of objects in another connection.

I wonder if there is some cross-thread access to a particular connection
going on in your application. The JDBC spec says that the various
exposed objects should be individually threadsafe, but I'm not sure how
well we follow that.

-O

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: org.postgresql.util.PSQLException: The column name x was not found in this ResultSet.
Следующее
От: "Minal Aryamane"
Дата:
Сообщение: Re: Postgresql-JDBC connectivity