pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: SQLMAP IBATIS insert values from web forms to a money type column
Date: Mon, 14 Aug 2006 10:34:10 -0400
Message-ID: <20060814143410.GA19548@phlogiston.dyndns.org> (raw)
In-Reply-To: <44E07F69.4050205@encs.concordia.ca>
References: <44E07F69.4050205@encs.concordia.ca>

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



view thread (2+ messages)

Message-ID: <20060814143410.GA19548@phlogiston.dyndns.org>
Permalink:  ../20060814143410.GA19548@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20060814143410.GA19548@phlogiston.dyndns.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ajs@crankycanuck.ca
  Subject: Re: SQLMAP IBATIS insert values from web forms to a money type column
  In-Reply-To: <20060814143410.GA19548@phlogiston.dyndns.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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