Re: [hibernate-dev] Entity-joins (HHH-16 and HHH-7321)

2016-02-08 Thread Vlad Mihalcea
Hi. It's fine to assume that implicit joins and entity-joins don't mix and document this behavior. When using explicit joins: select f.id, c.name, f.postDate, u.username from FinancialRecord f inner join f.customer c left join User u on f.lastUpdateBy = u.username We get

Re: [hibernate-dev] Entity-joins (HHH-16 and HHH-7321)

2016-02-08 Thread Sanne Grinovero
On 8 February 2016 at 17:44, Steve Ebersole wrote: > I am working mainly on HHH-16 which requests adding support for > entity-joins (aka "ad hoc" joins). > > So long-story-short, there is a simple solution with some limitations and > then a more correct solution that

[hibernate-dev] Entity-joins (HHH-16 and HHH-7321)

2016-02-08 Thread Steve Ebersole
I am working mainly on HHH-16 which requests adding support for entity-joins (aka "ad hoc" joins). So long-story-short, there is a simple solution with some limitations and then a more correct solution that unfortunately requires a lot of rework in the HQL parser. The crux of the problem is