Re: Wrong SqlType for boolean columns - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Wrong SqlType for boolean columns
Date
Msg-id 4C4FF633.60604@opencloud.com
Whole thread Raw
In response to Re: Wrong SqlType for boolean columns  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-jdbc
Thomas Kellerer wrote:

> Wouldn't it make sense to map this to BOOLEAN if the driver is built for
> JDBC4 and to BIT if is built for JDBC3?

IIRC, it gets a bit awkward because the mappings aren't in
JDBC-version-specific code.

Applications should really be prepared to deal with BIT, anyway..

-O


pgsql-jdbc by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Wrong SqlType for boolean columns
Next
From: dmp
Date:
Subject: Re: getMetaData().getTables() behaviour with JDBC3 8.3 & 8.4 drivers on windows