读书人

异常 org.hibernate.PropertyAccessEx

发布时间: 2012-09-23 10:28:11 作者: rapoo

错误 org.hibernate.PropertyAccessException
org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of com.hkht.cmcchinaManager.java.entity.Experience.tuijian

原因是不能将NULL值转换成int
tuijian是int类型

数据中有的tuijian是null值

读书人网 >Access

热点推荐