错误:org.hibernate.PropertyValueException:not-null property references a null or transient value解决方案
org.hibernate.PropertyValueException: not-null property references a null or transient value: com.zyj.test.Card.cardnum提示很明显,非空的值关联了一个空值或无效的值,就是你数据库里面某个字段设置为非空了,在.hbm.xml文件里某个属性的not-null=“true” 该为 ...
原创
2018-11-14 08:56:28 ·
2397 阅读 ·
0 评论