Re: Wrong SqlType for boolean columns

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Wrong SqlType for boolean columns
Date: 2010-07-28 09:19:47
Message-ID: 4C4FF633.60604@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message dmp 2010-07-28 16:02:32 Re: getMetaData().getTables() behaviour with JDBC3 8.3 & 8.4 drivers on windows
Previous Message Thomas Kellerer 2010-07-28 09:15:42 Re: Wrong SqlType for boolean columns