[英]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.