Re: Bug in 7.4_213 driver: returns VARCHAR instead of

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: Bug in 7.4_213 driver: returns VARCHAR instead of
Дата
Msg-id 4109783C.8030806@xythos.com
обсуждение исходный текст
Ответ на Re: Bug in 7.4_213 driver: returns VARCHAR instead of  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Kris Jurka wrote:
 > I'm not so sure anymore.  While text can be used for storing large values
 > it often isn't.  Further returning LONGVARCHAR could be a sign for the
 > caller to use something like ResultSet.getCharacterStream instead of a
 > simple getString.

I would agree.  In our applications we exclusively use text everywhere
we use varchar on other databases.  I am quite sure that a change like
this would break peoples existing apps.  I also agree that LONGVARCHAR
would imply that you should use the getXXXStream methods which I would
say is rarely the correct thing to do.  In my opinion text is just a
better version of varchar (without many of the limitations imposed on
varchar in other database vendor implementations).

--Barry


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Java Studio Creator and postgresql jdbc
Следующее
От: "Mike Martin"
Дата:
Сообщение: Re: Wrong column names in ResultSetMetaData