org.hibernate.PropertyAccessException

IllegalArgumentException occurred while calling setter of com.baitw.hibernate.entity.TNews.state

原因:对应bean中set方法数据类型和hibernate配置文件中定义的类型不一致

猜你喜欢

转载自xiongjiajia.iteye.com/blog/1452887