Menu

#37 Scale of BigDecimal lost

closed-fixed
None
5
2011-03-01
2011-03-01
Anonymous
No

The MockResultSet and MockCallableStatement classes in mockrunner-jdbc both lose scale information. When a BigDecimal is retrieved via either the getBigDecimal(int index) or getBigDecimal(String name) methods the code uses the BigDecimal(double val) constructor which results in scale information being lost.

Discussion

  • Alwin Ibba

    Alwin Ibba - 2011-03-01

    fixed for next release

     
  • Alwin Ibba

    Alwin Ibba - 2011-03-01
    • assigned_to: nobody --> aibba
    • status: open --> closed-fixed