在我的Mysql数据库里,定义了一个字段,其类型是Decimal(6.3), 那我使用hibernate进行ORM的时候,在hbm.xml文件中,要如何设置呢?
但是提示错误,错误信息如下:
Wrong column type: someColumn, expected: numeric(6,3)
我是用的mysql是5.6, Hibernate是4.2.8-Final
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
ringa_lee