Posted on 2004-04-27
I'm trying to map a handful of Sybase database columns of data type numeric(10,3) ie 10 digits of which 3 are decemical places onto java fields which are of type java double.
The mapping results in the error: java.math.BigDecimal
This does not tell me very much , but I'm guessing that it is telling me that the mapped fileld is too large to fit into a java double and is throwing out the datatype it reckons it should be?
correct me if I'm wrong.
Could I then do this to manipulate the read in field?
double mydouble1 = readInField1.doubleValue()
double mydouble2 = readInField2.doubleValue()