X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id B1A9E9FB28E for ; Mon, 14 Aug 2006 10:54:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 45412-01 for ; Mon, 14 Aug 2006 10:54:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by postgresql.org (Postfix) with ESMTP id 9EAB29FA2AD for ; Mon, 14 Aug 2006 10:54:27 -0300 (ADT) Received: from [127.0.0.1] ([66.130.106.234]) by VL-MH-MR002.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0J3Z008IZQMOS560@VL-MH-MR002.ip.videotron.ca> for pgsql-jdbc@postgresql.org; Mon, 14 Aug 2006 09:54:26 -0400 (EDT) Date: Mon, 14 Aug 2006 09:58:12 -0400 From: David Gagnon Subject: Re: SQLMAP IBATIS insert values from web forms to a money type In-reply-to: <44E07FD8.7090908@encs.concordia.ca> To: emilu@encs.concordia.ca Cc: pgsql-jdbc@postgresql.org Message-id: <44E08174.1060407@siunik.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <44E07FD8.7090908@encs.concordia.ca> User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200608/77 X-Sequence-Number: 15604 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 > > >