JDBC Timestamp Problem

Поиск
Список
Период
Сортировка
От yves@asua.vlaanderen.net
Тема JDBC Timestamp Problem
Дата
Msg-id 20001209144347.A19300@asua.vlaanderen.net
обсуждение исходный текст
Ответы Re: JDBC Timestamp Problem
Список pgsql-interfaces
Hello,

I have a problem with timestamps and JDBC-Postgresql

It seems that the JDBC-driver doesn't parse all representations of timestamps.
I calculate my own Timestamp and insert it into a table.
The field seems to contain (with psql SELECT):

2000-12-06 00:05:39.57+01

When i try to use a res.getTimestamp(i) i get an unparseable Timestamp exception at position 19

When i use a now() value the field contains (with psql SELECT):

2000-12-07 11:42:36+01

I get the impression that either there is a representation issue with postgresql or there is a small problem with the
JDBCdriver or i'm doing something wrong :-)
 

Greetz,

Yves De Muyter


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

Предыдущее
От: Joachim Achtzehnter
Дата:
Сообщение: RE: JDBC Drop/Create problem?
Следующее
От: "Michael Miyabara-McCaskey"
Дата:
Сообщение: Plperl make fails with Error1 at plperl.o (7.0.3)