Re: Array type error

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Array type error
Дата
Msg-id 4D592A5C.3090201@opencloud.com
обсуждение исходный текст
Ответ на Re: Array type error  (RW Shore <rws228@gmail.com>)
Список pgsql-jdbc
On 15/02/11 01:52, RW Shore wrote:

> I understand the interchangability of bit(1) and boolean at a certain
> level, but IMO this is still an inconsistency at best if not an outright
> bug.

I didn't mean that the server-side types bit(1) and boolean were
interchangeable. I meant that at the JDBC level, Types.BIT and
Types.BOOLEAN mean the same thing - the boolean type. BIT doesn't really
map to the server-side bit(n) type at all.

BOOLEAN is only available in later JDBC versions, so the driver prefers
BIT when returning metadata.

Oliver

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: RW Shore
Дата:
Сообщение: Re: Array type error
Следующее
От: Lukas Eder
Дата:
Сообщение: Re: UDT arrays