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