pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedSQLMAP IBATIS insert values from web forms to a money type column
2+ messages / 2 participants
[nested] [flat]
* SQLMAP IBATIS insert values from web forms to a money type column
@ 2006-08-14 13:49 Emi Lu <emilu@encs.concordia.ca>
0 siblings, 1 reply; 2+ messages in thread
From: Emi Lu @ 2006-08-14 13:49 UTC (permalink / raw)
To: pgsql-sql
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!
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: SQLMAP IBATIS insert values from web forms to a money type column
@ 2006-08-14 14:34 Andrew Sullivan <ajs@crankycanuck.ca>
parent: Emi Lu <emilu@encs.concordia.ca>
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Sullivan @ 2006-08-14 14:34 UTC (permalink / raw)
To: 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@crankycanuck.ca
When my information changes, I alter my conclusions. What do you do sir?
--attr. John Maynard Keynes
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-08-14 14:34 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-08-14 13:49 SQLMAP IBATIS insert values from web forms to a money type column Emi Lu <emilu@encs.concordia.ca>
2006-08-14 14:34 ` Andrew Sullivan <ajs@crankycanuck.ca>
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