A bug in 7.3 jdbc driver

From: Michael Andreasen <michael(at)dunlops(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: A bug in 7.3 jdbc driver
Date: 2003-10-31 21:55:58
Message-ID: 3FA2DA6E.6040801@dunlops.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Going a getObject() on a money field with a value over 1,000 causes an
error;

Bad Double 3,273.65
at
org.postgresql.jdbc1.AbstractJdbc1ResultSet.toDouble(AbstractJdbc1ResultSet.java:775)
at
org.postgresql.jdbc1.AbstractJdbc1ResultSet.getDouble(AbstractJdbc1ResultSet.java:159)
at
org.postgresql.jdbc2.AbstractJdbc2ResultSet.getObject(AbstractJdbc2ResultSet.java:116)

I guess it's the comma!

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Christer Sundgren 2003-11-02 07:50:54 pg73jbdc3 performace
Previous Message Alessandro Polverini 2003-10-31 17:24:07 Generated Keys