Permalink
Browse files

HHH-5396 JPQL KEY(), ENTRY() and VALUE() does not recognize alias refs

  • Loading branch information...
1 parent 1de554b commit ba5a139bd1c84726df1f239fffb980125e87076c @stliu stliu committed May 31, 2012
@@ -278,7 +278,7 @@ public void testJPAQLQualifiedIdentificationVariables() {
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() ) );

0 comments on commit ba5a139

Please sign in to comment.