On Wed, 23 Nov 2005, Thomas Kellerer wrote:
> I noticed that table columns that are defined as "bool" (Postgres datatype)
> are reported as java.sql.Types.BIT through DatabaseMetadata (or
> ResultSetMetaData).
>
> Is there any valid reason why they are not reported as
> java.sql.Types.BOOLEAN?
>
Because BOOLEAN is only available to JDBC3. Our driver still supports
JDBC2 so we use BIT. BOOLEAN and BIT are the same thing as far as we can
tell.
Kris Jurka