From: | yves(at)asua(dot)vlaanderen(dot)net |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | JDBC Timestamp Problem |
Date: | 2000-12-09 13:43:47 |
Message-ID: | 20001209144347.A19300@asua.vlaanderen.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 JDBC driver or i'm doing something wrong :-)
Greetz,
Yves De Muyter
From | Date | Subject | |
---|---|---|---|
Next Message | Yves De Muyter | 2000-12-09 14:04:00 | JDBC Timestamp problem |
Previous Message | Joachim Achtzehnter | 2000-12-08 18:27:01 | RE: JDBC Drop/Create problem? |