Skip to content

Commit ba5a139

Browse files
committed
HHH-5396 JPQL KEY(), ENTRY() and VALUE() does not recognize alias refs
1 parent 1de554b commit ba5a139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/matrix/java/org/hibernate/test/hql/ASTParserLoadingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public void testJPAQLQualifiedIdentificationVariables() {
278278

279279
s = openSession();
280280
s.beginTransaction();
281-
results = s.createQuery( "select entry(f) from Human h from h.family f" ).list();
281+
results = s.createQuery( "select entry(f) from Human h join h.family f" ).list();
282282
assertEquals( 1, results.size() );
283283
result = results.get(0);
284284
assertTrue( Map.Entry.class.isAssignableFrom( result.getClass() ) );

0 commit comments

Comments
 (0)