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  阅读(80)  评论(0编辑  收藏  举报

导航