Re: TEXT columns should indentify as java.sql.Types.CLOB

Поиск
Список
Период
Сортировка
От Toni Helenius
Тема Re: TEXT columns should indentify as java.sql.Types.CLOB
Дата
Msg-id E6A9CAA76548CB4EB02D2E3B174DD3B155381F0ED0@ink.sad.syncrontech.com
обсуждение исходный текст
Ответ на Re: TEXT columns should indentify as java.sql.Types.CLOB  (Oliver Jowett <oliver@opencloud.com>)
Список 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 по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: TEXT columns should indentify as java.sql.Types.CLOB
Следующее
От: vtkstef
Дата:
Сообщение: uuid values as parameters