From: Paul Thomas <paul@tmsl.demon.co.uk>
To: emilu@encs.concordia.ca
Cc: David Gagnon <dgagnon@siunik.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: SQLMAP IBATIS insert values from web forms to a money
Date: Sun, 20 Aug 2006 21:11:07 +0100
Message-ID: <20060820211107.M11632@bacon> (raw)
In-Reply-To: <44E0836D.6030609@encs.concordia.ca>
References: <44E07FD8.7090908@encs.concordia.ca>
<44E08174.1060407@siunik.com>
<44E0836D.6030609@encs.concordia.ca>
On 14/08/2006 15:06 Emi Lu wrote:
> I tried java.math.BigDeciaml. It does not work for me, I still get the
> exceptions:
> column "salary_amount" is of type money but expression is of type numeric
The PostgreSQL docs clearly state that money is a deprecated type and that
you should use numeric instead. Use a column type of numeric and a Java
type of BigDecimal.
--
Paul Thomas
+------------------------------+-------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for Business |
| Computer Consultants | http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+-------------------------------------------+
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: paul@tmsl.demon.co.uk, emilu@encs.concordia.ca, dgagnon@siunik.com
Subject: Re: SQLMAP IBATIS insert values from web forms to a money
In-Reply-To: <20060820211107.M11632@bacon>
References: <44E07FD8.7090908@encs.concordia.ca> <44E08174.1060407@siunik.com> <44E0836D.6030609@encs.concordia.ca> <20060820211107.M11632@bacon>
* 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