Fix for HHH-10537

This commit is contained in:
Christian Beikov 2017-01-25 19:58:53 +01:00 committed by Chris Cranford
parent 72382b1e08
commit 5d9414257f
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 );