Skip site navigation (1) Skip section navigation (2)

JDBC Timestamp problem

From: Antonio Fiol <fiol(at)w3ping(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: JDBC Timestamp problem
Date: 2001-02-22 16:33:49
Message-ID: 3A953F6D.1AADA5A8@w3ping.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Hello,

I have an application that worked well woth Postgresql 6.5.

Now I am on 7.0, and I get this exception when I execute an
rs.getTimestamp("reftime"):

Bad Timestamp Format at 0 in 1970-01-01 01:26:56.99+01
        at
org.postgresql.jdbc1.ResultSet.getTimestamp(ResultSet.java:445)
        at
org.postgresql.jdbc1.ResultSet.getTimestamp(ResultSet.java:587)

Any idea of what it might be ?

Thank you very much !

Antonio Fiol
W3ping


Responses

pgsql-jdbc by date

Next:From: Jeff HoffmannDate: 2001-02-22 17:04:58
Subject: Re: JDBC Timestamp problem
Previous:From: Lajos MalozsakDate: 2001-02-22 10:18:10
Subject: Fw: jdbc.postgresql.org/docs/

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group