pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Toni Helenius <Toni.Helenius@syncrontech.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: TEXT columns should indentify as java.sql.Types.CLOB
Date: Wed, 18 Aug 2010 19:31:31 +1200
Message-ID: <4C6B8C53.3040609@opencloud.com> (raw)
In-Reply-To: <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0EAE@ink.sad.syncrontech.com>
References: <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0DF3@ink.sad.syncrontech.com>
	<4C695AED.5040806@ttc-cmc.net>
	<E6A9CAA76548CB4EB02D2E3B174DD3B155381F0EAE@ink.sad.syncrontech.com>

Toni Helenius wrote:
> Hi,
> 
> An definitely a bug: BOOLEAN columns get identified as java.sql.Types.VARCHAR. Not java.sql.Types.BOOLEAN as they should. I end up getting SQL create statements where boolean fields are translated back as VARCHAR(1).

That does sound like a bug. Do you have a self-contained testcase
showing the problem?

-O



view thread (14+ messages)  latest in thread

Message-ID: <4C6B8C53.3040609@opencloud.com>
Permalink:  ../4C6B8C53.3040609@opencloud.com/
Also on:    postgresql.org/message-id/4C6B8C53.3040609@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, Toni.Helenius@syncrontech.com
  Subject: Re: TEXT columns should indentify as java.sql.Types.CLOB
  In-Reply-To: <4C6B8C53.3040609@opencloud.com>
  References: <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0DF3@ink.sad.syncrontech.com> <4C695AED.5040806@ttc-cmc.net> <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0EAE@ink.sad.syncrontech.com> <4C6B8C53.3040609@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