Re: issues with Statement.getTimestamp(int, Calendar)

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: issues with Statement.getTimestamp(int, Calendar)
Дата
Msg-id Pine.BSO.4.64.0701041655260.15822@leary2.csoft.net
обсуждение исходный текст
Ответ на Re: issues with Statement.getTimestamp(int, Calendar)  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: issues with Statement.getTimestamp(int, Calendar)  (Ravi Periasamy <ravitx12@yahoo.com>)
Список pgsql-jdbc

On Wed, 13 Dec 2006, Oliver Jowett wrote:

> Ravi Periasamy wrote:
>
>> I suspect the AbstractJdbc2Statement.changetime()
>> method.
>
> Yeah, that code looks pretty broken to me, it has completely the wrong
> end of the stick about what it should be doing with the provided
> calendar, AFAICS.
>
> Dave, why doesn't the out-parameter stuff do timestamp conversion by
> delegating to the same code as the ResultSet code uses? That does all
> the hard stuff for you..
>

I've rewritten this code to farm out the work to TimestampUtils and
applied it to the 8.1, 8.2 and 8.3dev branches.

Kris Jurka

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: need to update TimestampUtils code
Следующее
От: Ken Johanson
Дата:
Сообщение: Re: Support for DatabaseMetadata: getCatalogName, getTableName,