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.  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
From Lew
Subject Re: PSQLException: The column name
Date
Msg-id ibkkef$hch$1@news.albasani.net
Whole thread Raw
In response to Re: PSQLException: The column name
List 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 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.