hibernate异常日志

not-null property references a null or transient value: com.jxdx.entity.Tbscholarshiplevel.scholarshipLevelCode
解决方案:
解决方案
@Column(name = "xxxx", nullable = fasle, length = 4)
更改为
@Column(name = "xxxx", nullable = true, length = 4)

猜你喜欢

转载自appleblue.iteye.com/blog/1250389