Array type error

Поиск
Список
Период
Сортировка
От RW Shore
Тема Array type error
Дата
Msg-id AANLkTi=LMp0MN9fdZ11sUfW+K8JjTHSXt=zRAKpx9vh7@mail.gmail.com
обсуждение исходный текст
Ответы Re: Array type error
Список pgsql-jdbc
PostgreSQL version: 9.0-801
Server host: Windows 7

I have a table with an attribute declared as a boolean array. As expected, when I query this table and extract a value for this attribute via getObject( ), I get an object of type java.sql.Array. However, the getBaseType( ) method on this object returns java.sql.Types.BIT ( -7 ) rather than the correct value java.sql.Types.BOOLEAN (16).

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

Предыдущее
От: Thor Michael Støre
Дата:
Сообщение: Re: UDT arrays
Следующее
От: rsmogura
Дата:
Сообщение: Re: UDT arrays