pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: RW Shore <rws228@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Array type error
Date: Tue, 15 Feb 2011 00:29:37 +1300
Message-ID: <4D591221.50103@opencloud.com> (raw)
In-Reply-To: <AANLkTi=LMp0MN9fdZ11sUfW+K8JjTHSXt=zRAKpx9vh7@mail.gmail.com>
References: <AANLkTi=LMp0MN9fdZ11sUfW+K8JjTHSXt=zRAKpx9vh7@mail.gmail.com>

RW Shore wrote:
> However, the 
> getBaseType( ) method on this object returns java.sql.Types.BIT ( -7 ) 
> rather than the correct value java.sql.Types.BOOLEAN (16).

These types are effectively interchangeable in JDBC.
See the list archives for past discussion.

Oliver




view thread (4+ messages)  latest in thread

Message-ID: <4D591221.50103@opencloud.com>
Permalink:  ../4D591221.50103@opencloud.com/
Also on:    postgresql.org/message-id/4D591221.50103@opencloud.com

 · 

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: oliver@opencloud.com, rws228@gmail.com
  Subject: Re: Array type error
  In-Reply-To: <4D591221.50103@opencloud.com>
  References: <AANLkTi=LMp0MN9fdZ11sUfW+K8JjTHSXt=zRAKpx9vh7@mail.gmail.com> <4D591221.50103@opencloud.com>

* 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