From: Jim Caley <caley@chesco.com>
To: John Thorhauer <jthorhauer@phoenixcolor.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: java.sql.SQLException: Bad Timestamp Format at 19 in 2000-06-14 15:48:18.80-04
Date: Fri, 16 Jun 2000 09:03:21 -0400
Message-ID: <394A2599.76380445@chesco.com> (raw)
References: <3947E3F4.1E015246@phoenixcolor.com>
Hi John,
We've been discussing this very issue on this mailing list over the past
couple of days. If you go to
http://www.postgresql.org/mhonarc/pgsql-interfaces/2000-06/threads.html
and search the page for "Timestamps" you'll see the thread (actually, I
just checked, and at the moment the thread is right at the top of the
page). The first message in the thread includes a patch that's been
working for me.
HTH
Regards,
Jim
--
John Thorhauer wrote:
>
> I am using postgres 7.0 and and jdbc driver ver 7.0 on linux and am
> getting the following error:
>
> Exception: java.sql.SQLException: Bad Timestamp Format at 19 in
> 2000-06-14 15:48:18.80-04
>
> If I edit my the timestamp field in my table and change the data from
> '2000-06-14 10:04:47.13-04' to '2000-06-14 10:04:47' everything seems
> to work fine.
>
> I tried using the 6.5-1.2 jdbc and got the same result.
> Can anyone help me with this?
>
> Thanks,
> John Thorhauer
> --
> ********************************
> ** John Thorhauer
> ** Web Developer
> ** Phoenix Color Corp.
> ** jthorhauer@phoenixcolor.com
> ********************************
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: caley@chesco.com, jthorhauer@phoenixcolor.com
Subject: Re: java.sql.SQLException: Bad Timestamp Format at 19 in 2000-06-14 15:48:18.80-04
In-Reply-To: <394A2599.76380445@chesco.com>
* 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