Received: from thor.tht.net (thor.tht.net [209.47.145.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eB9DhSZ31754 for ; Sat, 9 Dec 2000 08:43:28 -0500 (EST) (envelope-from yves@vlaanderen.net) Received: from asua.vlaanderen.net (asua.vlaanderen.net [195.162.201.2]) by thor.tht.net (8.9.3/8.9.3) with SMTP id JAA26232 for ; Sat, 9 Dec 2000 09:43:21 GMT (envelope-from yves@vlaanderen.net) Received: (qmail 19304 invoked by uid 1007); 9 Dec 2000 13:43:47 -0000 Date: Sat, 9 Dec 2000 14:43:47 +0100 From: yves@asua.vlaanderen.net To: pgsql-interfaces@postgresql.org Subject: JDBC Timestamp Problem Message-ID: <20001209144347.A19300@asua.vlaanderen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us X-Archive-Number: 200012/64 X-Sequence-Number: 401 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