必须先将一的一方先保存解除持久化状态,才可以再保存多的一方
注意保存顺序就好了

org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing: com.zs.entity.GuahaodanEntity; nested excepti
标签:多对一 color sap ring invalid ref nes 问题 nsa