Thread: JDBC bug in 7.1b4

JDBC bug in 7.1b4

From
Rainer Mager
Date:
Hi,

    While trying 7.1b4 I got this using JDBC2:

ERROR: A request from 10.0.0.46 (10.0.0.46) resulted in
java.lang.NumberFormatException: 20 18:46:53+09
java.lang.NumberFormatException: 20 18:46:53+09
        at java.lang.Integer.parseInt(Integer.java, Compiled Code)
        at java.lang.Integer.parseInt(Integer.java, Compiled Code)
        at java.sql.Date.valueOf(Date.java, Compiled Code)
        at org.postgresql.jdbc2.ResultSet.getDate(ResultSet.java,
Compiled Code)
        at org.postgresql.jdbc2.ResultSet.getDate(ResultSet.java,
Compiled Code)


Sorry for the incomplete stack trace (and lack of line numbers) but the
rest of it shouldn't matter. BTW, I am using the new 7.1 JDBC driver.
I'll try to look at the Java code tomorrow but I'm hoping someone
already has a fix.



--Rainer