db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Rehlig" <reh...@lemonage.de>
Subject AW: AW: The resulting value is outside the range for the data type DECIMAL/NUMERIC(4,4).
Date Tue, 08 Sep 2009 08:55:35 GMT
If the type of the SCONTOEURO column is DECIMAL/NUMERIC(4,4). I would try setting the value

value.setScale(4, new MathContext(8, BigDecimal.ROUND_HALF_EVEN));

does it work?

View raw message