pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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:10:07 -0500
Message-ID: <ibkl0d$i8l$1@news.albasani.net> (raw)
In-Reply-To: <82k4kimq99.fsf@mid.bfk.de>
References: <270369.52816.qm@web113412.mail.gq1.yahoo.com>
	<alpine.BSO.2.00.1011091909160.7107@leary.csoft.net>
	<AANLkTimb4b+hv-8M+VwEUw_91y6Bw75u+i26sVZCD=kF@mail.gmail.com>
	<ibi7js$71l$1@news.albasani.net>
	<AANLkTimKWEdBdJS2gRFLYrHcAHNiA-Hx8=KGA7ucu3HH@mail.gmail.com>
	<ibij1o$kgv$1@news.albasani.net>
	<AANLkTimgd-ksOoersMpF=YhpZyWorY0n=cYxq3dDF4Fu@mail.gmail.com>
	<ibjg5n$2cm$1@news.albasani.net>
	<82k4kimq99.fsf@mid.bfk.de>

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



view thread (20+ messages)  latest in thread

Message-ID: <ibkl0d$i8l$1@news.albasani.net>
Permalink:  ../ibkl0d$i8l$1@news.albasani.net/
Also on:    postgresql.org/message-id/ibkl0d$i8l$1@news.albasani.net

 · 

reply

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: <ibkl0d$i8l$1@news.albasani.net>
  References: <270369.52816.qm@web113412.mail.gq1.yahoo.com> <alpine.BSO.2.00.1011091909160.7107@leary.csoft.net> <AANLkTimb4b+hv-8M+VwEUw_91y6Bw75u+i26sVZCD=kF@mail.gmail.com> <ibi7js$71l$1@news.albasani.net> <AANLkTimKWEdBdJS2gRFLYrHcAHNiA-Hx8=KGA7ucu3HH@mail.gmail.com> <ibij1o$kgv$1@news.albasani.net> <AANLkTimgd-ksOoersMpF=YhpZyWorY0n=cYxq3dDF4Fu@mail.gmail.com> <ibjg5n$2cm$1@news.albasani.net> <82k4kimq99.fsf@mid.bfk.de> <ibkl0d$i8l$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