Re: Array type error - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Array type error
Date
Msg-id 4D592A5C.3090201@opencloud.com
Whole thread Raw
In response to Re: Array type error  (RW Shore <rws228@gmail.com>)
List pgsql-jdbc
On 15/02/11 01:52, RW Shore wrote:

> I understand the interchangability of bit(1) and boolean at a certain
> level, but IMO this is still an inconsistency at best if not an outright
> bug.

I didn't mean that the server-side types bit(1) and boolean were
interchangeable. I meant that at the JDBC level, Types.BIT and
Types.BOOLEAN mean the same thing - the boolean type. BIT doesn't really
map to the server-side bit(n) type at all.

BOOLEAN is only available in later JDBC versions, so the driver prefers
BIT when returning metadata.

Oliver

pgsql-jdbc by date:

Previous
From: RW Shore
Date:
Subject: Re: Array type error
Next
From: Lukas Eder
Date:
Subject: Re: UDT arrays