Matching types - Mailing list pgsql-jdbc

From Vicente Alabau Gonzalvo
Subject Matching types
Date
Msg-id 3E3E21BF.4000906@capgemini.es
Whole thread Raw
Responses Re: Matching types  (Daniel Serodio <daniel@checkforte.com.br>)
List pgsql-jdbc
Does anybody know how to get BigDecimal from numeric and how to put
BigDecimal to numeric using jdbc?
The first thing seems to work automaticaly.
BigDecimal seems to be converted into double precision when put in a
query. Then it can't be compared with a numeric value.

ERROR:  Unable to identify an operator '=' for types 'numeric' and
'double precision'
  You will have to retype this query using an explicit cast

Can it be done without doing an explicit cast?

Thanks in advance.


pgsql-jdbc by date:

Previous
From: shk@linuxbr.com.br
Date:
Subject: possible character accent bug on pgjdbc73
Next
From: "Hale Pringle"
Date:
Subject: Re: Project criteria