>>>>>>>>>>>> Bernt M. Johnsen wrote (2006-01-04 13:00:17):
> >>>>>>>>>>>> Thomas Dudziak wrote (2006-01-03 17:18:02):
> > 
> > Shall I file a JIRA issue then ?
> 
> I'll do it.

I was too fast in my conclusions. It is not a bug.

setObject(idx, bigDecimal, Types.NUMERIC) is defined to be identical
with setObject(idx, bigDecimal, Types.NUMERIC, 0) and that's exactly
what Derby does.

If you need decimals, you have to specify scale. E.g.:

setObject(idx, new BigDecimal("0.9999"), Type.NUMERIC, 4);
-- 
Bernt Marius Johnsen, Database Technology Group, 
Staff Engineer, Technical Lead Derby/Java DB
Sun Microsystems, Trondheim, Norway

Attachment: pgphfaUmH1jK9.pgp
Description: PGP signature

Reply via email to