Re: Bug extracting money value

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Bug extracting money value
Дата
Msg-id 45202F05.4050602@opencloud.com
обсуждение исходный текст
Ответ на Bug extracting money value  (Holger Schulz <hst1@online.de>)
Ответы Re: Bug extracting money value
Re: Bug extracting money value
Список pgsql-jdbc
Holger Schulz 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.

> Object oValue = m_resultSet.getObject(i);

> org.postgresql.util.PSQLException: Bad value for type double : ?7,00

... though I'd expect at least getObject to work, if not getDouble()

Maybe you could dig into this and send us a patch?

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Euler Taveira de Oliveira
Дата:
Сообщение: Re: Problem : Sql queries are created in lowercase
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Bug extracting bit value