Re: PSQLException: The column name was not found in this ResultSet. - Mailing list pgsql-jdbc

was not found in this ResultSet.was not found in this ResultSet.  (Florian Weimer <fweimer@bfk.de>)was not found in this ResultSet.  (Maciek Sakrejda <msakrejda@truviso.com>)
From Lew
Subject Re: PSQLException: The column name
Date
Msg-id ibkl0d$i8l$1@news.albasani.net
Whole thread Raw
In response to Re: PSQLException: The column name
Responses Re: PSQLException: The column name
List pgsql-jdbc
On 11/12/2010 12:00 PM, Florian Weimer wrote:
Lew:
>> I do not know of any interface that requires its implementations to be
>> thread safe, anywhere in Java.  The closest I can think of is the JPA
>> javax.persistence.EntityManagerFactory, all extant implementations of
>> which are thread-safe, but of course the interface cannot require
>> that.
>>
>> Can you think of one that does?


> java.util.concurrent.BlockingQueue and many others from the
> java.util.concurrent package.  This is not enforced by the language,
> of course.

And therefore does not require implementations to be thread safe, as I stated.

Even the documentation for 'BlockingQueue' makes that point: "BlockingQueue
implementations are thread-safe."  Not the interface, only its implementations
are thread safe, and implicitly only the ones known at the time the Javadoc
comments were written.

--
Lew

pgsql-jdbc by date:

Previous
From: Florian Weimer
Date:
Subject: Re: PSQLException: The column name was not found in this ResultSet.
Next
From: Maciek Sakrejda
Date:
Subject: Re: PSQLException: The column name was not found in this ResultSet.