Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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


  • From: "j.random.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: Tue, 27 Jul 2004 01:45:18 -0700 (PDT)
  • Message-id: <20040727084518.80717.qmail@web14201.mail.yahoo.com> <text/plain>

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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group