Re: PSQLException: The column name was not found in this ResultSet.

Поиск
Список
Период
Сортировка
was not found in this ResultSet.was not found in this ResultSet.  (Maciek Sakrejda <msakrejda@truviso.com>)was not found in this ResultSet.  (Florian Weimer <fweimer@bfk.de>)
От Till Toenges
Тема Re: PSQLException: The column name
Дата
Msg-id 4CDCDD42.6080103@kyon.de
обсуждение исходный текст
Ответ на Re: PSQLException: The column name
Ответы Re: PSQLException: The column name
Список pgsql-jdbc
On 2010-11-12 07:18, Maciek Sakrejda wrote:
> We're getting off topic--perhaps I didn't express myself clearly.
> Getting back to Samuel's original point, if the ResultSet interface
> contract does not require a given implementation to provide thread
> safety for these operations--and it appears that it does not--then
> maybe pgjdbc should not try to provide it. If a user needs to use a
> ResultSet from multiple threads, it can be synchronized externally.

The pgjdbc driver is supposed to be thread safe:

http://jdbc.postgresql.org/documentation/pgjdbc.html#Using+the+Driver+in+a+Multithreaded+or+a+Servlet+Environment

Whether this is good or bad doesn't matter. Has been this way forever,
can't change that now.


Till

--
Kyon, Till Toenges, tt@kyon.de, http://kyon.de
Blumenstr. 39, 47798 Krefeld, +49-2151-3292595

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

Предыдущее
От: Maciek Sakrejda
Дата:
Сообщение: Re: PSQLException: The column name was not found in this ResultSet.
Следующее
От: Lew
Дата:
Сообщение: Re: PSQLException: The column name was not found in this ResultSet.