No row with the given identifier exists 解决方法
No row with the given identifier exists 解决方法
有两张表,a和b.产生此问题的原因就是a里做了关联或者(特殊的多对一映射,实际就是一对一)来关联b.当hibernate查找的时候,b里的数据没有与a相匹配的,这样就会报No row with the given identifier exists这个错.(一句话,就是数据的问题!)
转载
2015-07-31 14:28:09 ·
388 阅读 ·
0 评论