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

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: issues with Statement.getTimestamp(int, Calendar)
Дата
Msg-id 457FF1E3.8020207@opencloud.com
обсуждение исходный текст
Ответ на Re: issues with Statement.getTimestamp(int, Calendar)  (Ravi Periasamy <ravitx12@yahoo.com>)
Ответы Re: issues with Statement.getTimestamp(int, Calendar)  (Dave Cramer <pg@fastcrypt.com>)
Re: issues with Statement.getTimestamp(int, Calendar)  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
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..

-O

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

Предыдущее
От: Ravi Periasamy
Дата:
Сообщение: Re: issues with Statement.getTimestamp(int, Calendar)
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: issues with Statement.getTimestamp(int, Calendar)