| Parent does not have a unique ID, so it cannot be added to persistenceContext's entitiesByUniqueKey. Child has a non-unique many-to-one, as you mention that more than one Child can have the same parent. Since Child#parent is non-unique, it cannot be added to persistenceContext's entitiesByUniqueKey either. |