From: | Emi Lu <emilu(at)encs(dot)concordia(dot)ca> |
---|---|
To: | David Gagnon <dgagnon(at)siunik(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: SQLMAP IBATIS insert values from web forms to a money |
Date: | 2006-08-14 14:06:37 |
Message-ID: | 44E0836D.6030609@encs.concordia.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
>
> I think you should use BigDecimal ...
>
>
I tried java.math.BigDeciaml. It does not work for me, I still get the
exceptions:
column "salary_amount" is of type money but expression is of type numeric
>
> Emi Lu wrote:
>> Hello,
>>
>> I am using SQLMAP ibatis to do DB insertion for a webapplication.
>>
>> In my sqlmap.xml file, I was trying to insert values into a table
>> with one col (type is Money), but in java, I could not find Money type.
>>
>> Does someone knows about ibatis how to make values got from the web
>> form to be inserted into money type column through IBATIS ?
>>
>> Thanks a lot!
>>
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 1: if posting/reading through Usenet, please send an appropriate
>> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
>> message can get through to the mailing list cleanly
>>
>>
>>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Jowett | 2006-08-14 22:23:37 | Re: upgrading from pg74.216.jdbc3.jar to 8.1-407 JDBC 3 |
Previous Message | David Gagnon | 2006-08-14 13:58:12 | Re: SQLMAP IBATIS insert values from web forms to a money type |