Re: Bug extracting money value

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: Bug extracting money value
Дата
Msg-id 4520B9DF.1030901@logix-tt.com
обсуждение исходный текст
Ответ на Re: Bug extracting money value  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: Bug extracting money value
Список pgsql-jdbc
Hi, Oliver,

Oliver Jowett wrote:

>> I always get an exception when I try to extract the money value I
>> inserted this way:
>
> "money" isn't a well-supported type on the server side (I believe its
> use is no longer recommended) .. IIRC the formatting rules for it are
> locale-specific, among other problems.

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.

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 по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Bug extracting bit value
Следующее
От: Markus Schaber
Дата:
Сообщение: Re: Bug extracting money value