错误 org.hibernate.PropertyAccessException 博客分类: hibernate HibernateBean
程序员文章站
2024-02-03 13:13:58
...
org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of com.xuguang.u8.otheroutsheet.bean.OtherOutSheetItem.unitCost
原因hibernate不能将null值映射成double
办法把OtherOutSheetItem的属性unitCost声明为Double
原因hibernate不能将null值映射成double
办法把OtherOutSheetItem的属性unitCost声明为Double