在我的Mysql数据库里,定义了一个字段,其类型是Decimal(6.3), 那我使用hibernate进行ORM的时候,在hbm.xml文件中,要如何设置呢?<property name="something“ type="big_decimal" precision="6" scale="3" column="someColumn"/>但是提示错误,错误信息如下:Wrong column type: someColumn, expected: numeric(6,3)我是用的mysql是5.6, Hibernate是4.2.8-Final
添加回答
举报
0/150
提交
取消