mysql format 格式化 返回值

早上发现一个奇怪问题,跟踪一下,发现了以下问题,记录一下: spring

Mysql 数据库的format   sql

查看文档:Formats the number X to a format like'#,###,###.##', rounded to D decimal places, and returns the result as a string. If D is0, the result has no decimal point or fractional part.整数部分超过三位的时候以逗号分割,而且返回的结果是string类型的数据库

也就是说,若是我这边转型的数据比较大的话,若是是 5000.000 这个数字的话,在转型后返回的是string类型,针对这样的数据,他是会爆   spa

org.springframework.dao.TransientDataAccessResourceException
orm

这个异常的 ci

相关文章
相关标签/搜索