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

This commit is contained in:
Jens Borrmann 2020-07-14 11:10:02 +02:00 committed by Steve Ebersole
parent 007f609210
commit 3159c8ff78

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;
}