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

(cherry picked from commit 3159c8ff78)
This commit is contained in:
Jens Borrmann 2020-07-14 11:10:02 +02:00 committed by Steve Ebersole
parent ef8e028ded
commit 7698fc1707
1 changed files with 1 additions and 1 deletions

View File

@ -1361,7 +1361,7 @@ public class StatefulPersistenceContext implements PersistenceContext {
private Object getParentsByChild(Object childEntity) {
if ( parentsByChild != null ) {
parentsByChild.get( childEntity );
return parentsByChild.get( childEntity );
}
return null;
}