Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 97C9F633771 for ; Wed, 18 Aug 2010 04:31:50 -0300 (ADT) 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 98946-08 for ; Wed, 18 Aug 2010 07:31:42 +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 0F9126336B2 for ; Wed, 18 Aug 2010 04:31:41 -0300 (ADT) 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 1Old7X-0004l6-2d; Wed, 18 Aug 2010 19:31:35 +1200 Message-ID: <4C6B8C53.3040609@opencloud.com> Date: Wed, 18 Aug 2010 19:31:31 +1200 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: Toni Helenius CC: "pgsql-jdbc@postgresql.org" Subject: Re: TEXT columns should indentify as java.sql.Types.CLOB References: <4C695AED.5040806@ttc-cmc.net> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-10 required=5 tests=BAYES_20=-0.001 X-Spam-Level: X-Archive-Number: 201008/59 X-Sequence-Number: 20862 Toni Helenius wrote: > Hi, > > An definitely a bug: BOOLEAN columns get identified as java.sql.Types.VARCHAR. Not java.sql.Types.BOOLEAN as they should. I end up getting SQL create statements where boolean fields are translated back as VARCHAR(1). That does sound like a bug. Do you have a self-contained testcase showing the problem? -O