Subject Scale Error in FBResultSet?
Author Agustin Gonzalez
I had to change line1334 from:
return BigDecimal.valueOf(((Long)row[columnIndex -
1]).longValue(), getXsqlvar(columnIndex).sqlscale);
to
return BigDecimal.valueOf(((Long)row[columnIndex -
1]).longValue(), -getXsqlvar(columnIndex).sqlscale);

to make NUMERIC(18,2) work. getXsqlvar(columnIndex).sqlscale returns a
negative number (-2) and the method
BigDecimal.valueOf does not like that. So I multiplied by -1 to make it
positive.

Agustin