JPA Hibernate not storing the precision value into the database when non-precision value passed -
i have following pojo column, when set value 3 it, storing 3 not 3.00, how can save precision 3.00?
@column(name = "max_value",precision = 9, scale = 2, columndefinition="decimal(9,2)") private bigdecimal basisquantity;
Comments
Post a Comment