Re: Bug extracting bit value - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Bug extracting bit value
Date
Msg-id 45203249.7070304@opencloud.com
Whole thread Raw
In response to Bug extracting bit value  (Holger Schulz <hst1@online.de>)
Responses Re: Bug extracting bit value
List pgsql-jdbc
Holger Schulz wrote:

> When I extract a bit value by JDBC I get an Boolean Object - even for bit(3)!

That's a bit strange, if varbit(n) returns a custom PGobject I'd expect
bit(n) to do the same..

Again this is a type where there's no good JDBC mapping for it though ..
maybe boolean[] would be right, but then you can also have real arrays
of bools..

The confusing thing is that JDBC's Types.BIT really means "boolean" not
"bit(n)" :(

-O

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Bug extracting money value
Next
From: Markus Schaber
Date:
Subject: Re: Bug extracting money value