Re: Bug in storing Timestamp

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Bug in storing Timestamp
Дата
Msg-id Pine.BSO.4.56.0504140407320.17685@leary.csoft.net
обсуждение исходный текст
Ответ на Bug in storing Timestamp  (Boris Kirzner <borisk@mainsoft.com>)
Ответы Re: Bug in storing Timestamp  (Boris Kirzner <borisk@mainsoft.com>)
Список pgsql-jdbc

On Mon, 11 Apr 2005, Boris Kirzner wrote:

> Short description :
> Storing java.sql.Timestamp with specified milliseconds value results to
> wrong value stored in db.
>
> PostgreSQL version : 8.0.1
> Driver version : 8.0 build 310
>
> Detailed description :
> In order to reproduce the bug run the following code.
> Create the table in the db.
> The code creates a timestamp of "0001-01-01 02:02:02.0" and stores it
> into the db.
> The actual value stored is "02:22:42".

I am not able to reproduce this problem.  The attached test case shows a
problem with storing java.sql.Time into a timetz type because the correct
offset is not saved, but that's not what you've described.  Perhaps it is
something specific to your timezone?

Kris Jurka

Вложения

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Pam Authentication is supported?
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Data type for array of byte