Boolean: DatabaseMetaData.getColumns

From: Adrian Frick <mbch67(at)yahoo(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Boolean: DatabaseMetaData.getColumns
Date: 2003-11-26 09:01:12
Message-ID: 20031126090112.50099.qmail@web14207.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Configuration:
- PostgreSQL 7.4
- JDBC 7.4 beta3 build 209

Test case:
1. Created a table column of type BOOLEAN
2. Retrieved column metadata using
- Class: DatabaseMetaData
- Method: getColumns
3. Got the following values
- DATA_TYPE: -7 (java.sql.Types.BIT)
- TYPE_NAME: bool

Error description:
DATA_TYPE should be 16 (java.sql.Types.BOOLEAN)
instead of -7, wenn TYPE_NAME is 'bool'

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Beardsley 2003-11-26 23:29:16 UNICODE and JDBC Driver
Previous Message Oliver Jowett 2003-11-26 02:26:20 Re: Avoiding Statement.cancel() races