X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 0DE159FB2A1 for ; Mon, 14 Aug 2006 11:34:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 92826-09 for ; Mon, 14 Aug 2006 14:34:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from main2.mycybernet.net (main2.mycybernet.net [209.222.63.140]) by postgresql.org (Postfix) with ESMTP id 7353E9FB2A0 for ; Mon, 14 Aug 2006 11:34:18 -0300 (ADT) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227] helo=phlogiston.dydns.org) by main2.mycybernet.net with esmtp (Exim 4.62) (envelope-from ) id 1GCdiH-0003Yo-Cl for pgsql-sql@postgresql.org; Mon, 14 Aug 2006 10:46:45 -0400 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id C503E417B; Mon, 14 Aug 2006 10:34:10 -0400 (EDT) Date: Mon, 14 Aug 2006 10:34:10 -0400 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: SQLMAP IBATIS insert values from web forms to a money type column Message-ID: <20060814143410.GA19548@phlogiston.dyndns.org> References: <44E07F69.4050205@encs.concordia.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44E07F69.4050205@encs.concordia.ca> User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200608/97 X-Sequence-Number: 26055 The money type is deprecated. Use numeric with two places. A On Mon, Aug 14, 2006 at 09:49:29AM -0400, 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 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 -- Andrew Sullivan | ajs@crankycanuck.ca When my information changes, I alter my conclusions. What do you do sir? --attr. John Maynard Keynes