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 ??  (Thomas Kellerer <spam_eater@gmx.net>)
Re: Why is bool == java.sql.Types.BIT ??  (aditsu <aditsu@yahoo.com>)
Список pgsql-jdbc

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
Дата:
Сообщение: Why is bool == java.sql.Types.BIT ??
Следующее
От: Andres Ledesma
Дата:
Сообщение: Re: Why is bool == java.sql.Types.BIT ??