Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 64ABE1337B84 for ; Fri, 12 Nov 2010 20:24:48 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 41987-07 for ; Sat, 13 Nov 2010 00:24:42 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id AECB91337B5D for ; Fri, 12 Nov 2010 20:24:40 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.4/8.14.4) with ESMTP id oAD0OeZT082578 for ; Fri, 12 Nov 2010 20:24:40 -0400 (AST) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id oAD00FVZ067915 for pgsql-jdbc@postgresql.org; Fri, 12 Nov 2010 20:00:15 -0400 (AST) (envelope-from news) From: Lew X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: PSQLException: The column name was not found in this ResultSet. Date: Fri, 12 Nov 2010 19:00:33 -0500 Organization: albasani.net Lines: 25 Message-ID: References: <4CDCF5F40200002500037687@gw.wicourts.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <4CDCF5F40200002500037687@gw.wicourts.gov> Cancel-Lock: sha1:+opSqufAZ5SxIUrnWsLZbNeN4mA= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.14) Gecko/20101006 Thunderbird/3.0.9 Injection-Info: news.albasani.net; logging-data="F5Etv9WrVurx6n8O3hO9Ym64bojnUEH7S8EpyqrBQrBqH8+HdEAS7qi8+XFTQqb0Jxx3FrbFKw5sapRxz/uolK4gwTx6STGC97ZePB0pCWY0CbWeVxumVPsfirx/ETzp"; mail-complaints-to="abuse@albasani.net" To: pgsql-jdbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-10 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/37 X-Sequence-Number: 21158 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