Re: ResultSerMetaData.getColumnDisplaySize() with timestamp

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: ResultSerMetaData.getColumnDisplaySize() with timestamp
Дата
Msg-id Pine.BSO.4.56.0407091853250.17806@leary.csoft.net
обсуждение исходный текст
Ответ на ResultSerMetaData.getColumnDisplaySize() with timestamp error  ("Dario V. Fassi" <software@sistemat.com.ar>)
Список pgsql-jdbc

On Wed, 7 Jul 2004, Dario V. Fassi wrote:

> Hi all,
>
> I believe that the method   ResultSerMetaData.getColumnDisplaySize()
> with timestamp columns return 0 length
> when they would return 19 or 26.

I've modified the cvs version of the driver to return a size for
times and timestamps with timezones.

> The same way , methods getColumnPresicion()  and getColumnScale() .
>

I've modified the cvs version of the driver to return the number of
fractional seconds in time/timezone fields in the getScale() method.  I'm
not sure what you are implying about getPrecision here.

Kris Jurka


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Error in DatabaseMetaData TableColumn lenght.dec
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: patch: complain obviously about unknown transaction states