摘要:
tomcat启动报错后显示以下错误 ## There is insufficient memory for the Java Runtime Environment to continue.# Native memory allocation (malloc) failed to allocate 阅读全文
posted @ 2020-06-30 18:13
yvioo
阅读(3150)
评论(0)
推荐(0)
摘要:
在java项目中,我们会遇到价格、金额的数据,这时候我们java中应该用BigDecimal类型,数据库用decimal类型, 长度可以自定义, 如18; 小数点我们项目中用的是2, 保留2位小数. 此外还要注意的就是默认值, 一定写成0.00, 不要用默认的NULL, 否则在进行加减排序等操作时, 阅读全文
posted @ 2020-06-30 10:06
yvioo
阅读(2015)
评论(0)
推荐(0)

浙公网安备 33010602011771号