-
Notifications
You must be signed in to change notification settings - Fork 934
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
fetch="join" mapping is ignored in hql/Linq queries #2716
Comments
That's actually a known behavior -
While I'm not against to have this feature it's simply not implemented. Latest hibernate behaves the same.
To check queries for lazy associations there is |
Given the following mapping:
With the following implementations:
The following methods of obtaining a Person/people yield different queries and different execution strategies. All of the results can be classified as one of the following:
The behavior exhibited in the first set is the expected behavior as the one-to-one relationship specifies a fetch type of
join
. Verification of this issue relies on #2714 being fixed.The text was updated successfully, but these errors were encountered: