Re: Bug extracting money value - Mailing list pgsql-jdbc

From Markus Schaber
Subject Re: Bug extracting money value
Date
Msg-id 4520C175.7040100@logix-tt.com
Whole thread Raw
In response to Re: Bug extracting money value  (Markus Schaber <schabi@logix-tt.com>)
List pgsql-jdbc
Hi, All,

Markus Schaber wrote:

> Without having looked at the code, I think that the ? in getString()
> comes from the backend formatting the Value with an EUR symbol, and the
> JDBC driver looking for a $ to skip.

I now looked at the code.

It seems that the Code tries to strip brackets () and anything outside
of them, however, I did not get my backend to generate anything
containing brackets.

With the US locale, it generated '$5.00' and '-$5.00', with the european
locale, it generated '5.00' and '-5.00'.

HTH
Markus


--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

pgsql-jdbc by date:

Previous
From: Markus Schaber
Date:
Subject: Re: Bug extracting money value
Next
From: Dave Cramer
Date:
Subject: Re: Bug extracting money value