From: yves@asua.vlaanderen.net
To: pgsql-interfaces@postgresql.org
Subject: JDBC Timestamp Problem
Date: Sat, 9 Dec 2000 14:43:47 +0100
Message-ID: <20001209144347.A19300@asua.vlaanderen.net> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-interfaces@postgresql.org
Cc: yves@asua.vlaanderen.net
Subject: Re: JDBC Timestamp Problem
In-Reply-To: <20001209144347.A19300@asua.vlaanderen.net>
References: <20001209144347.A19300@asua.vlaanderen.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox