org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of 异常
在开发项目的过程中,发现如下异常:

原因是updateType字段为int类型,不能接收null,而在数据库中对应的字段为null,解决方法:将updateType字段类型改为Integer。
在开发项目的过程中,发现如下异常:

原因是updateType字段为int类型,不能接收null,而在数据库中对应的字段为null,解决方法:将updateType字段类型改为Integer。