Re: SQLMAP IBATIS insert values from web forms to a money type column

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: SQLMAP IBATIS insert values from web forms to a money type column
Date: 2006-08-14 14:34:10
Message-ID: 20060814143410.GA19548@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)crankycanuck(dot)ca
When my information changes, I alter my conclusions. What do you do sir?
--attr. John Maynard Keynes

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Sumeet Ambre 2006-08-14 21:26:10 Multiple DB join
Previous Message Emi Lu 2006-08-14 13:49:29 SQLMAP IBATIS insert values from web forms to a money type column