Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support join to unrelated entity (ad hoc joins) #210

Closed
reda-alaoui opened this issue Mar 28, 2019 · 2 comments
Closed

Support join to unrelated entity (ad hoc joins) #210

reda-alaoui opened this issue Mar 28, 2019 · 2 comments

Comments

@reda-alaoui
Copy link

reda-alaoui commented Mar 28, 2019

It would be nice to standardize ad hoc joins introduced by Hibernate 5.1.
That would allow us to use them with the Criteria API.

Entity joins (or ad hoc joins)
In HQL you now have the ability to define a join to an entity, not just a mapped association. For example:

select ...
from FinancialRecord f
left join User u
on r.lastUpdateBy = u.username

See HHH-16 for details.

@andyjefferson
Copy link

See #128 and close this

@reda-alaoui
Copy link
Author

Oh I didn’t see it.
Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants