From: | pgsql-bugs(at)postgresql(dot)org |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | PostgreSQL BugTool Submission |
Date: | 2000-08-23 16:59:55 |
Message-ID: | 200008231659.e7NGxtg84133@hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Gregg Wonderly (gregg(at)c2-tech(dot)com) reports a bug with a severity of 1
The lower the number the more severe it is.
Short Description
JDBC driver broken for ResultSet.getTimeStamp()
Long Description
The JDBC driver in 7.0.2 uses Timestamp.toString() to create the string representation of the timestamp to store into postgresql.
It should use Timestamp.valueOf(String) to go back to the native
Timestamp value. However, it uses SimpleDateFormat.parse() instead
and this will not work correctly. Parse Exceptions occur and the data can not be retrieved from the database as a Timestamp.
Sample Code
No file was uploaded with this report
From | Date | Subject | |
---|---|---|---|
Next Message | pgsql-bugs | 2000-08-23 18:54:42 | PostgreSQL BugTool Submission |
Previous Message | Gabor Z. Papp | 2000-08-23 11:07:58 | Error: unknown type 'ame' |