From: David Gagnon <dgagnon@siunik.com>
To: emilu@encs.concordia.ca
Cc: pgsql-jdbc@postgresql.org
Subject: Re: SQLMAP IBATIS insert values from web forms to a money type
Date: Mon, 14 Aug 2006 09:58:12 -0400
Message-ID: <44E08174.1060407@siunik.com> (raw)
In-Reply-To: <44E07FD8.7090908@encs.concordia.ca>
References: <44E07FD8.7090908@encs.concordia.ca>
Hi,
I think you should use BigDecimal ...
/David
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@postgresql.org so that your
> message can get through to the mailing list cleanly
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: dgagnon@siunik.com, emilu@encs.concordia.ca
Subject: Re: SQLMAP IBATIS insert values from web forms to a money type
In-Reply-To: <44E08174.1060407@siunik.com>
References: <44E07FD8.7090908@encs.concordia.ca> <44E08174.1060407@siunik.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox