Re: bit datatype and getObject()

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: bit datatype and getObject()
Дата
Msg-id 4D120BFA02000025000389FA@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: bit datatype and getObject()  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Kris Jurka <books@ejurka.com> wrote:

> The standard says nothing useful.  Section 8.3.3 of this document
> implies that as an application developer you should just pretend
> multi-bit strings don't exist...

BitSet is tempting, but the fuzzy definition of size seems to be a
killer.  We clearly don't want to use length() instead of size().
Unless someone can make a convincing argument to the contrary, I'm
inclined to agree that we should just us a Java String of '0' and
'1' characters.

-Kevin

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: bit datatype and getObject()
Следующее
От: Degrassi Francesco
Дата:
Сообщение: Re: Postgresql XA prepare() method behaviour