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

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -