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