一:ids for this class must be manually assigned before calling save()
"类名.hbm.xml"映射文件中<Generator>属性设成"native"
二: not-null property references a null or transient value: pojo.TBumen.colName;
将映射文件中的<column>标签中的not-null="true"属性去掉
posted on 2014-06-03 15:59 时光让我遇到你 阅读(121) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 时光让我遇到你 Powered by .NET 8.0 on Kubernetes