Hibernate fails when using a JOIN clause which contains a KEY clause using the JPA layer. It seems like it is a regression because 4.2.6 seems to work without problems.
The JPA query
select a0_.name as col_0_0_, b2_.value as col_1_0_ from A a0_ left outer join A_B keyvalue1_ on a0_.id=keyvalue1_.A_id and ( keyvalue1_.key=? ) left outer join B b2_ on keyvalue1_.keyValue_id=b2_.id and ( keyvalue1_.key=? ) order by a0_.name
|