简体   繁体   English

使用 Hibernate 保存 object object 引用未保存的瞬态实例 在刷新之前保存瞬态实例

[英]save the object using Hibernate object references an unsaved transient instance save the transient instance before flushing

I'm trying to save instance and this instance has an aggregation with another instance..the problem isi can't change the cascade of the relation or synchronize the other entity before synchronizing the parent entity..is there another way to do so??我正在尝试保存实例,并且该实例与另一个实例有一个聚合。问题是我无法在同步父实体之前更改关系的级联或同步另一个实体。还有其他方法吗? ? thank you,谢谢你,

I'm trying to save instance and this instance has an aggregation with another instance..the problem isi can't change the cascade of the relation or synchronize the other entity before synchronizing the parent entity..is there another way to do so??我正在尝试保存实例,并且该实例与另一个实例有一个聚合。问题是我无法在同步父实体之前更改关系的级联或同步另一个实体。还有其他方法吗? ? thank you,谢谢你,

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 对象引用了一个未保存的临时实例-使用休眠空间在刷新之前保存该临时实例 - object references an unsaved transient instance - save the transient instance before flushing using hibernate spatial Hibernate级联:对象引用了一个未保存的瞬态实例-在刷新之前保存该瞬态实例 - Hibernate cascades : Object references an unsaved transient instance - save the transient instance before flushing 对象引用了未保存的瞬态实例-在刷新休眠JPA之前保存瞬态实例 - Object references an unsaved transient instance - save the transient instance before flushing hibernate JPA 休眠:对象引用了一个未保存的瞬态实例-在刷新之前保存该瞬态实例 - Hibernate : object references an unsaved transient instance - save the transient instance before flushing HIbernate - 对象引用一个未保存的瞬态实例 - 在刷新之前保存瞬态实例 - HIbernate - object references an unsaved transient instance - save the transient instance before flushing org.hibernate.TransientObjectException:object引用未保存的瞬态实例 - 在刷新之前保存瞬态实例 - org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing 如何修复 Hibernate“对象引用未保存的瞬态实例 - 在刷新前保存瞬态实例”错误 - How to fix the Hibernate "object references an unsaved transient instance - save the transient instance before flushing" error org.hibernate.TransientObjectException:object 引用了一个未保存的瞬态实例 - 在刷新之前保存瞬态实例: - org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: 对象引用了一个未保存的瞬态实例-在刷新之前保存瞬态实例:Spring Data JPA - object references an unsaved transient instance - save the transient instance before flushing : Spring Data JPA 如何解决对象引用未保存的瞬态实例的错误-在刷新之前保存瞬态实例? - How do I solve this error of object references an unsaved transient instance - save the transient instance before flushing?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM