null value
org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of cn.itcast.domain.Forum.topicCount
原因:数据库表的一个字段的值为null,所以要将这个值填进去就不会报这个错。
posted on 2016-08-19 19:21 huxihua2006 阅读(81) 评论(0) 收藏 举报
org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of cn.itcast.domain.Forum.topicCount
原因:数据库表的一个字段的值为null,所以要将这个值填进去就不会报这个错。
posted on 2016-08-19 19:21 huxihua2006 阅读(81) 评论(0) 收藏 举报