| От | Dave Cramer |
|---|---|
| Тема | Re: issues with Statement.getTimestamp(int, Calendar) |
| Дата | |
| Msg-id | 59C2537D-6B49-410E-A674-D97A333D7F65@fastcrypt.com обсуждение |
| Ответ на | Re: issues with Statement.getTimestamp(int, Calendar) (Oliver Jowett <oliver@opencloud.com>) |
| Список | pgsql-jdbc |
Oliver, To be honest, I didn't write the stuff in AbstractJdbc2Statement. That is left over from the original implementation. That being said, there is no function in the utils that takes a date and a calendar and returns a Calendar. It does look like the best place to put that code though. Dave On 13-Dec-06, at 7:28 AM, 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.. > > -O >
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера