Fix for HHH-10537

(cherry picked from commit 5d9414257f)
This commit is contained in:
Christian Beikov 2017-01-25 19:58:53 +01:00 committed by Gail Badner
parent 140de50a95
commit caa984327a
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,8 @@ public class MapKeyEntityFromElement extends FromElement {
// todo : ever a time when INNER is appropriate? // todo : ever a time when INNER is appropriate?
//JoinType.LEFT_OUTER_JOIN, //JoinType.LEFT_OUTER_JOIN,
// needs to be an inner join because of how JoinSequence/JoinFragment work - ugh // needs to be an inner join because of how JoinSequence/JoinFragment work - ugh
JoinType.INNER_JOIN, // JoinType.INNER_JOIN,
collectionFromElement.getJoinSequence().getFirstJoin().getJoinType(),
joinColumns joinColumns
); );
join.setJoinSequence( joinSequence ); join.setJoinSequence( joinSequence );