ids for this class must be manually assigned before calling save() hibernate

来源:互联网 发布:罗辑思维人工智能 编辑:程序博客网 时间:2024/05/21 19:41

ids for this class must be manually assigned before calling save() hibernate出现这个错误的原因有可能因为,你的表中有个主键。 但是你插入的(调用save)时那个值为null

原创粉丝点击