Why is bool == java.sql.Types.BIT ??

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Why is bool == java.sql.Types.BIT ??
Date: 2005-11-23 17:43:06
Message-ID: dm29na$nrg$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello,

I noticed that table columns that are defined as "bool" (Postgres
datatype) are reported as java.sql.Types.BIT through DatabaseMetadata
(or ResultSetMetaData).

Is there any valid reason why they are not reported as
java.sql.Types.BOOLEAN?

Regards
Thomas

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Andres Ledesma 2005-11-23 18:23:50 Re: Why is bool == java.sql.Types.BIT ??
Previous Message Rob Kirkbride 2005-11-23 13:24:37 Re: Switching user within connection.