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

Поиск
Список
Период
Сортировка
was not found in this ResultSet.was not found in this ResultSet.  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
От Lew
Тема Re: PSQLException: The column name
Дата
Msg-id ibkkef$hch$1@news.albasani.net
обсуждение исходный текст
Ответ на Re: PSQLException: The column name
Список pgsql-jdbc
Lew wrote:
>> I do not know of any interface that requires its implementations to
>> be thread safe, anywhere in Java.

Kevin Grittner wrote:
> http://download.oracle.com/javase/6/docs/api/java/util/concurrent/ConcurrentMap.html
>
>> Can you think of one that does?

Good catch.  Of course, the interface cannot guarantee that any implementation
of it is thread safe, so it's more in the way of a suggestion or a request
than a contract.  It does not require implementations to be thread safe.

There is, in fact, no such thing in Java as an interface that requires its
implementations to be thread safe.  (There are suggested annotations that
provide some support for that, however.)

> I think the more salient point is that PostgreSQL has provided such a
> guarantee regarding its implementation of the interface.

Exactly the point I was making.  It is implementations that are thread safe,
not interfaces.

--
Lew

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

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