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

Поиск
Список
Период
Сортировка
Искать
От
Kris Jurka
Тема
Re: Why is bool == java.sql.Types.BIT ??
Дата
Msg-id
Pine.BSO.4.61.0511231340310.14387@leary.csoft.net
Ответ на
Список
Дерево обсуждения
Why is bool == java.sql.Types.BIT ?? Thomas Kellerer <spam_eater@gmx.net>
Re: Why is bool == java.sql.Types.BIT ?? Andres Ledesma <aledes@euskalnet.net>
Re: Why is bool == java.sql.Types.BIT ?? Kris Jurka <books@ejurka.com>
Re: Why is bool == java.sql.Types.BIT ?? aditsu <aditsu@yahoo.com>
Re: Why is bool == java.sql.Types.BIT ?? Oliver Jowett <oliver@opencloud.com>
Re: Why is bool == java.sql.Types.BIT ?? aditsu <aditsu@yahoo.com>
Re: Why is bool == java.sql.Types.BIT ?? Oliver Jowett <oliver@opencloud.com>
Re: Why is bool == java.sql.Types.BIT ?? aditsu <aditsu@yahoo.com>
Re: Why is bool == java.sql.Types.BIT ?? Thomas Kellerer <spam_eater@gmx.net>
Re: Why is bool == java.sql.Types.BIT ?? Oliver Jowett <oliver@opencloud.com>
Re: Why is bool == java.sql.Types.BIT ?? Thomas Kellerer <spam_eater@gmx.net>
Re: Why is bool == java.sql.Types.BIT ?? Oliver Jowett <oliver@opencloud.com>


On Wed, 23 Nov 2005, Thomas Kellerer wrote:

> 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?
>

Because BOOLEAN is only available to JDBC3.  Our driver still supports 
JDBC2 so we use BIT.  BOOLEAN and BIT are the same thing as far as we can 
tell.

Kris Jurka

В списке pgsql-jdbc по дате отправления
От: Thomas Kellerer
Дата:
От: Andres Ledesma
Дата:
FAQ