ResultSet.getTimestamp() Exception

From: Bill Bunting <bunting(at)incentivemeetings(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: ResultSet.getTimestamp() Exception
Date: 2000-12-19 20:10:48
Message-ID: 5.0.0.25.2.20001219145246.00a42910@pop.valueweb.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Version: Postgresql 7.0.3-2 (RPM for RedHat6.2)
JDBC Version: 7.0.3-2 (RPM for RedHat6.2)
Java Version: Sun build 1.3.0

Calls to ResultSet.getTimestamp(...) throw an exception and report the
following error:

"Bad Timestamp Format at 19 in 2000-12-18 12:31:15.77-05"

To reproduce:
1. Create a table using the TIMESTAMP SQL type.
2. Insert a row with a timestamp (using psql)
3. Use JDBC getTimestamp()

For use, this bug is severe since it prevents us from using the timestamps
in our EJB entity beans.

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert B. Easter 2000-12-19 21:08:52 Re: Backend dies when overloading + operator for bool
Previous Message pgsql-bugs 2000-12-19 19:27:57 pg_dumpall doesn't handle all it should