Hi Steve, thank you for fixing HHH-7237 (Inline natural-id synchronization doesn't consider reattached objects). Unfortunately only now, with a fresh checkout, I saw that the fix makes org.hibernate.test.naturalid.immutable.ImmutableEntityNaturalIdTest.testNaturalIdCheck fail. Sorry for that.
A solution which turns all involved test-cases to green, could be to add following condition in method AbstractEntityPersister#afterReassociate << if ( hasNaturalIdentifier()) { >> if ( hasNaturalIdentifier() && !getEntityMetamodel().hasImmutableNaturalId() >> ) { // relevant only for mutable NaturalId's best regards Günther _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev