Skip to content

Commit

Permalink
HHH-10537 - Fixed conflict while merging changes from HHH-10557.
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Feb 1, 2017
1 parent 5d94142 commit 3f1111e
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -73,7 +73,7 @@ protected void prepareTest() throws Exception {
s.save( baseTestEntity2 );
TestEntity testEntity2 = new TestEntity();
Map<KeyValue, EmbeddableValue> map2 = new HashMap<>();
map.put( keyValue2, embeddableValue );
map2.put( keyValue2, embeddableValue );
testEntity2.values = map2;
s.save( testEntity2 );
} );
Expand Down Expand Up @@ -192,6 +192,7 @@ public void testLeftJoinMapAndUseKeyExpression() {
doInHibernate( this::sessionFactory, s -> {
// Assert that a left join is used for joining the map key entity table
List keyValues= s.createQuery( "select key(v) from BaseTestEntity bte left join bte.entities te left join te.values v" ).list();
System.out.println( keyValues );
assertEquals( 2, keyValues.size() );
} );
}
Expand Down

0 comments on commit 3f1111e

Please sign in to comment.