org.hibernate.AssertionFailure: null id in X.XX.XXX 原因及解决方案
2016-02-24 14:13
537 查看
org.hibernate.AssertionFailure: null id in X.XX.XXX 解决方案
此问题出现原因:1.字段里用到了数据库的关键字了 -换掉这个字段
2.如果数据库里设置了某个字段值不为null,而你保存的时候就设置了为null -【不说了o(////▽////)q】
相关文章推荐
- 五子棋AI算法第五篇-算杀
- SublimeText 插件 - PlainTasks使用方法
- 华为P8解锁问题:waiting for device解决方法(亲测成功)
- HDU——1982Kaitou Kid - The Phantom Thief (1)(坑爹string题)
- zabbix proxy 服务器 netstat 出现大量Time_Wait连接问题
- 为什么delegate属性使用assign而不是retain?
- gmail巧用过滤器清空邮箱
- SMTP判断邮箱是否存在,检查email地…
- RAID相关知识简介
- Host key verification fail…
- 新浪免费企业邮箱Foxmail客户端设…
- Opencv— — Bias and Gain
- rndc: connect failed 解决
- Google Map,Baidu Map,latitude,longitude
- looking for domain authoritative name server and domain name location
- Leetcode 70 Climbing Stairs 递推
- IP address '172.172.200.88' could not be resolved: Temporary failure in name resolution
- DataInputStream类和RandomAccessFile类的使用方法
- (23)odoo中的domain表达式
- Async/Await - Best Practices in Asynchronous Programming z