cancel
Showing results for 
Search instead for 
Did you mean: 

Hybris rounds BigDecimal with a big precision, after persisting it.

0 Kudos
298

Hello, we have the following attribute

<attribute qualifier="rate" type="java.math.BigDecimal">
   <description>The day-exact valid-to date</description>
   <modifiers optional="false"/>
   <persistence type="property">
      <columntype database="oracle">
         <value>NUMBER(28,14)</value>
      </columntype>
   </persistence>
</attribute>

Before persisting, we have in Java still a BigDecimal with value 0.23809523809524. But after persisting it, the hybris data mapper rounds it to 0.2381 . Do you know how to avoid this rounding?

Thank you very much in advance!

Sven

Accepted Solutions (0)

Answers (0)