From: Lew <noone@lewscanon.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: PSQLException: The column name <col> was not found in this ResultSet.
Date: Fri, 12 Nov 2010 19:00:33 -0500
Message-ID: <ibkkef$hch$1@news.albasani.net> (raw)
In-Reply-To: <4CDCF5F40200002500037687@gw.wicourts.gov>
References: <4CDCF5F40200002500037687@gw.wicourts.gov>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: noone@lewscanon.com
Subject: Re: PSQLException: The column name <col> was not found in this ResultSet.
In-Reply-To: <ibkkef$hch$1@news.albasani.net>
References: <4CDCF5F40200002500037687@gw.wicourts.gov> <ibkkef$hch$1@news.albasani.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox