出现Null value was assigned to a property of primitive type setter of错误是由于类型不匹配,将字段的属性由hibernate的int类型改为java.lang.Integer类型就可以了, org.springframework.orm.hibernate3.HibernateSystemException: Exception occurred inside setter of com.eshore.item.model.Chec…