HHH-14106 - Return entry from #parentsByChild in StateFulPersistenceContext#getParentsByChild

(cherry picked from commit 3159c8ff78f5020911dfea4e3c16b45b629e2f60)
This commit is contained in:
Jens Borrmann 2020-07-14 11:10:02 +02:00 committed by Steve Ebersole
parent ef8e028ded
commit 7698fc1707

View File

@ -1361,7 +1361,7 @@ && isFoundInParent( propertyName, childEntity, persister, collectionPersister, p
private Object getParentsByChild(Object childEntity) {
if ( parentsByChild != null ) {
parentsByChild.get( childEntity );
return parentsByChild.get( childEntity );
}
return null;
}