X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1E29BD1B183 for ; Tue, 27 Jul 2004 05:45:26 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82233-06 for ; Tue, 27 Jul 2004 08:45:20 +0000 (GMT) Received: from web14201.mail.yahoo.com (web14201.mail.yahoo.com [216.136.172.143]) by svr1.postgresql.org (Postfix) with SMTP id D0B96D1B379 for ; Tue, 27 Jul 2004 05:45:16 -0300 (ADT) Message-ID: <20040727084518.80717.qmail@web14201.mail.yahoo.com> Received: from [151.197.181.46] by web14201.mail.yahoo.com via HTTP; Tue, 27 Jul 2004 01:45:18 PDT Date: Tue, 27 Jul 2004 01:45:18 -0700 (PDT) From: "j.random.programmer" Subject: Bug in 7.4_213 driver: returns VARCHAR instead of LONGVARCHAR for text types To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200407/309 X-Sequence-Number: 10693 The JDBC version 7.4_213 driver has the following bug For database SQL type: text (that is variable unlimited length) The JDBC driver returns "java.sql.VARCHAR" as the column type. (via database meta data). This is wrong. The JDBC driver SHOULD return java.sql.LONGVARCHAR (since the text type is of unlimited length). Please fix this because it is messing up my relational mapping code. Best regards, --j __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail