Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?
Дата
Msg-id Pine.BSO.4.64.0903021903420.9134@leary.csoft.net
обсуждение исходный текст
Ответ на Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?  (Hannu Krosing <hannu@2ndQuadrant.com>)
Список pgsql-jdbc

On Tue, 3 Mar 2009, Hannu Krosing wrote:

> Could you describe, what do they do, especially for cases of really
> unknown sizes ?
>
> One solution would be to fetch all data into a buffer and actually
> measure the longest field size.

That's not always an option.  Consider the case of
PreparedStatement.getMetaData(), it must be able to return metadata
without executing the statement.

Kris Jurka

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?
Следующее
От: Віталій Тимчишин
Дата:
Сообщение: Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?