Re: bit datatype and getObject() - Mailing list pgsql-jdbc

From Kevin Grittner
Subject Re: bit datatype and getObject()
Date
Msg-id 4D120BFA02000025000389FA@gw.wicourts.gov
Whole thread Raw
In response to Re: bit datatype and getObject()  (Kris Jurka <books@ejurka.com>)
List 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 by date:

Previous
From: Kris Jurka
Date:
Subject: Re: bit datatype and getObject()
Next
From: Degrassi Francesco
Date:
Subject: Re: Postgresql XA prepare() method behaviour