Found shared references to a collection
2017-05-05 10:50
225 查看
如果采取红色箭头的方法给subsidy的attr属性赋值,则会发生该错误,应该先用一个Map集合接收,然后把接收的Map值赋给subsidy的attr。
分析原因:
报错的大概意思是”发现共享集合引用”,即两个实体引用了同一个集合,这在hibernate中是不允许的
相关文章推荐
- hibernate异常"Found shared references to a collection"
- Found shared references to a collection: com.morepower.domain.oa.TreeNode.permissions
- 使用hibernate,在面对复杂业务处理的时候,你是否很顺手,由Exception-found shared references to a collection说开去
- hibernate异常"Found shared references to a collection 解决方法
- hibernate异常"Found shared references to a collection
- hibernate异常"Found shared references to a collection
- error:Found shared references to a collection:
- hibernate异常"Found shared references to a collection"
- Hibernate JPA —— could not insert 或 detach entity passed to persist 或Found shared references 错误
- ORA-06531:Reference to uninitialized collection 问题解决
- no java virtual machine was found after searching& Failed to load the JNI shared library
- RSC-010, ERROR, [Reference to non-standard resource type found.]
- How to Tune Java Garbage Collection--reference
- Reference to uninitialized collection 问题解决
- [BUG]error: reference to ‘shared_ptr’ is ambiguous
- xxxx.accessor: The reference to 'xxxx' was not found in the list of this projects references
- Cannot be serialized to JSON because its IsReference setting is 'True'
- arduino项目名与项目下的文件名重复会导致报错 undefined reference to `setup' |`loop'问题
- Android之ndk编译出现"undefined reference to method"解决办法
- undefined reference to涉及的链接问题