Re: TEXT columns should indentify as java.sql.Types.CLOB - Mailing list pgsql-jdbc

From Toni Helenius
Subject Re: TEXT columns should indentify as java.sql.Types.CLOB
Date
Msg-id E6A9CAA76548CB4EB02D2E3B174DD3B155381F0ED0@ink.sad.syncrontech.com
Whole thread Raw
In response to Re: TEXT columns should indentify as java.sql.Types.CLOB  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: TEXT columns should indentify as java.sql.Types.CLOB
Next
From: vtkstef
Date:
Subject: uuid values as parameters