Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 3A6C81337B82 for ; Fri, 12 Nov 2010 01:54:47 -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 18086-04 for ; Fri, 12 Nov 2010 05:54:40 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id 727631337B68 for ; Fri, 12 Nov 2010 01:54:39 -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 oAC5scFl056463 for ; Fri, 12 Nov 2010 01:54:38 -0400 (AST) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id oAC5R5JH045351 for pgsql-jdbc@postgresql.org; Fri, 12 Nov 2010 01:27:05 -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 00:27:18 -0500 Organization: albasani.net Lines: 14 Message-ID: References: <270369.52816.qm@web113412.mail.gq1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Cancel-Lock: sha1:gbx0Usn+e+95ZQJmHz3R/QFugns= 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="d69T7KHaQcVm7PgQbKVy4dbGSQOAgNhgwxjCQPfufRdP+GMU9tFcgPc6mL5LiB/R8dRC/1f2A1CwW2KeZ9uUTmptp34hdkXdUuZm356bAKS5W+Tllb0TC3qA67Px4w/s"; 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/29 X-Sequence-Number: 21150 Maciek Sakrejda wrote: >> ...you want to call add() on multiple Lists from multiple threads... > > That should, of course, be "on the same List from multiple threads". To put that in context with the correction: > if you want to call add() on the same List from > multiple threads, synchronization is your responsibility. Not if you use a thread-safe 'List'. Then the implementation handles thread safety for you. -- Lew