hibernate中设置BigDeCimal的精度

1 @Column(precision = 12, scale = 2)

在MySQL数据库中的精度为:

原文地址:https://www.cnblogs.com/m-bianbian/p/5848722.html