Bug in 7.4_213 driver: returns VARCHAR instead of LONGVARCHAR for text types

From: "j(dot)random(dot)programmer" <javadesigner(at)yahoo(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Bug in 7.4_213 driver: returns VARCHAR instead of LONGVARCHAR for text types
Date: 2004-07-27 08:45:18
Message-ID: 20040727084518.80717.qmail@web14201.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Hallgren 2004-07-27 09:39:54 Re: Binary Cursors, and the COPY command
Previous Message Oliver Jowett 2004-07-27 07:07:47 Re: Binary Cursors, and the COPY command