Re: Require assistance in Postgres + Hibernate : Error:java.math.BigInteger cannot be cast to java.math.BigDecimal

Поиск
Список
Период
Сортировка
От Francisco Olarte
Тема Re: Require assistance in Postgres + Hibernate : Error:java.math.BigInteger cannot be cast to java.math.BigDecimal
Дата
Msg-id CA+bJJbyPRC=rnVf2m26LaNqFBZJjvwQpuFc3t=LQO3w_sGNcjQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Require assistance in Postgres + Hibernate : Error:java.math.BigInteger cannot be cast to java.math.BigDecimal  (rob stone <floriparob@gmail.com>)
Ответы Re: Require assistance in Postgres + Hibernate : Error:java.math.BigInteger cannot be cast to java.math.BigDecimal  (Vinodh NV <linktovinodh@gmail.com>)
Список pgsql-general
On Tue, Feb 13, 2018 at 12:39 PM, rob stone <floriparob@gmail.com> wrote:
>> long count = ((BigDecimal)ic.get(“EB”)).longValue();
..
> The method is documented as:-
> public static BigDecimal valueOf(long val)

His problem seems to be the opposit, he does not have the long value
and wants it.

Francisco Olarte.


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

Предыдущее
От: Francisco Olarte
Дата:
Сообщение: Re: Require assistance in Postgres + Hibernate : Error:java.math.BigInteger cannot be cast to java.math.BigDecimal
Следующее
От: Vikas Sharma
Дата:
Сообщение: Multiple postmasters running from same directory