Обсуждение: SQLMAP IBATIS insert values from web forms to a money type column

Поиск
Список
Период
Сортировка

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

От
Emi Lu
Дата:
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!




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

От
Andrew Sullivan
Дата:
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