Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id DB24F1337B99 for ; Mon, 14 Feb 2011 07:29:56 -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 74188-06 for ; Mon, 14 Feb 2011 11:29:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 5AC481337B90 for ; Mon, 14 Feb 2011 07:29:48 -0400 (AST) Received: from 121-98-80-66.bitstream.orcon.net.nz ([121.98.80.66] helo=[192.168.1.2]) by tremor.opencloud.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Powch-0004mo-F4; Tue, 15 Feb 2011 00:29:43 +1300 Message-ID: <4D591221.50103@opencloud.com> Date: Tue, 15 Feb 2011 00:29:37 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: RW Shore CC: pgsql-jdbc@postgresql.org Subject: Re: Array type error References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201102/78 X-Sequence-Number: 21476 RW Shore wrote: > However, the > getBaseType( ) method on this object returns java.sql.Types.BIT ( -7 ) > rather than the correct value java.sql.Types.BOOLEAN (16). These types are effectively interchangeable in JDBC. See the list archives for past discussion. Oliver