pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Why is bool == java.sql.Types.BIT ??
Date: Wed, 23 Nov 2005 18:43:06 +0100
Message-ID: <dm29na$nrg$1@sea.gmane.org> (raw)

Hello,

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?

Regards
Thomas




view thread (12+ messages)  latest in thread

Message-ID: <dm29na$nrg$1@sea.gmane.org>
Permalink:  ../dm29na$nrg$1@sea.gmane.org/
Also on:    postgresql.org/message-id/dm29na$nrg$1@sea.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Why is bool == java.sql.Types.BIT ??
  In-Reply-To: <dm29na$nrg$1@sea.gmane.org>
  References: <dm29na$nrg$1@sea.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox