HHH-5396 JPQL KEY(), ENTRY() and VALUE() does not recognize alias refs
This commit is contained in:
parent
1de554b68a
commit
ba5a139bd1
|
@ -278,7 +278,7 @@ public class ASTParserLoadingTest extends BaseCoreFunctionalTestCase {
|
|||
|
||||
s = openSession();
|
||||
s.beginTransaction();
|
||||
results = s.createQuery( "select entry(f) from Human h from h.family f" ).list();
|
||||
results = s.createQuery( "select entry(f) from Human h join h.family f" ).list();
|
||||
assertEquals( 1, results.size() );
|
||||
result = results.get(0);
|
||||
assertTrue( Map.Entry.class.isAssignableFrom( result.getClass() ) );
|
||||
|
|
Loading…
Reference in New Issue