-
Notifications
You must be signed in to change notification settings - Fork 934
Fix wrong inner join fetch on not lazy component key-many-to-one property in Criteria #2513
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
Conversation
3ead994
to
358522b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was fun
It seems I broke codefactor. Ooops. |
This comment has been minimized.
This comment has been minimized.
There's no hope with CodeFactor... |
Should we get rid of added |
I think let is stay there. |
Codefactor confirmed it's not currently supported:
|
Fixes #766
From original issue:
Joins are added because key-many-to-one entities in test case are not lazy. That's correct standard behavior. Only those joins should be LEFT JOIN as joins created for fetched associations
entity.AssociationTableCollection.FirstTable