From: Toni Helenius <Toni.Helenius@syncrontech.com>
To: Oliver Jowett <oliver@opencloud.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 12:01:59 +0300
Message-ID: <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0ED0@ink.sad.syncrontech.com> (raw)
In-Reply-To: <4C6B9782.8000306@opencloud.com>
References: <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0DF3@ink.sad.syncrontech.com>
<4C695AED.5040806@ttc-cmc.net>
<E6A9CAA76548CB4EB02D2E3B174DD3B155381F0EAE@ink.sad.syncrontech.com>
<4C6B8C53.3040609@opencloud.com>
<E6A9CAA76548CB4EB02D2E3B174DD3B155381F0EC3@ink.sad.syncrontech.com>
<4C6B9782.8000306@opencloud.com>
Hi,
Yes, good sir, you're right. It got mapped as a BIT. My hastiness and original if-else was a bit off on this. Sorry.
Still how do you feel about TEXT columns mapping as VARCHAR?
-----Original Message-----
From: Oliver Jowett [mailto:oliver@opencloud.com]
Sent: 18. elokuuta 2010 11:19
To: Toni Helenius
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] TEXT columns should indentify as java.sql.Types.CLOB
Toni Helenius wrote:
> Hi,
>
> Here is the best I can do, I'm sure you'll manage to fill in the holes:
Well, I was more interested in how you were ending up with VARCHAR.
It's normal for booleans to be mapped to Types.BIT (see previous list
discussion)
> if (java.sql.Types.BOOLEAN == type) {
> println("A boolean");
> }
-O
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: Toni.Helenius@syncrontech.com, oliver@opencloud.com
Subject: Re: TEXT columns should indentify as java.sql.Types.CLOB
In-Reply-To: <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0ED0@ink.sad.syncrontech.com>
References: <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0DF3@ink.sad.syncrontech.com> <4C695AED.5040806@ttc-cmc.net> <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0EAE@ink.sad.syncrontech.com> <4C6B8C53.3040609@opencloud.com> <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0EC3@ink.sad.syncrontech.com> <4C6B9782.8000306@opencloud.com> <E6A9CAA76548CB4EB02D2E3B174DD3B155381F0ED0@ink.sad.syncrontech.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