HHH-17730 Account for immutable embedded ids during merge
This commit is contained in:
parent
76027709b1
commit
d29cb697f9
|
@ -264,8 +264,7 @@ public class DefaultMergeEventListener
|
||||||
copyValues[i] = subtype.deepCopy( propertyValues[i], sessionFactory );
|
copyValues[i] = subtype.deepCopy( propertyValues[i], sessionFactory );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
compositeType.setPropertyValues( idCopy, copyValues );
|
return compositeType.replacePropertyValues( idCopy, copyValues, session );
|
||||||
return idCopy;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void entityIsPersistent(MergeEvent event, MergeContext copyCache) {
|
protected void entityIsPersistent(MergeEvent event, MergeContext copyCache) {
|
||||||
|
|
Loading…
Reference in New Issue