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

From Kevin Grittner
Subject Re: bit datatype and getObject()
Date
Msg-id 4D11FEA30200002500038998@gw.wicourts.gov
Whole thread Raw
In response to Re: bit datatype and getObject()  (Kris Jurka <books@ejurka.com>)
Responses Re: bit datatype and getObject()
List pgsql-jdbc
Kris Jurka <books@ejurka.com> wrote:

> returing a String seems easiest, do other people have ideas?

What would the Java String look like for SQL B'101' ?

Would bool[] make any sense for an object type?

I'm not sure byte[] would be out of the question, but it would need
zero padding on one side or the other, and you would lose the exact
length.  :-(

What do other drivers do?  Is there any guidance in the JDBC
standard?

-Kevin

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: bit datatype and getObject()
Next
From: Kris Jurka
Date:
Subject: Re: bit datatype and getObject()