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

Fix possible ERROR log when parsing join in hql #2859

Merged
merged 1 commit into from
Jul 17, 2021

Conversation

bahusoid
Copy link
Member

@bahusoid bahusoid commented Jul 15, 2021

Regression from #2810

Fix tries to process node as implicit join first (as GetImplementors required for entity join caches results, and we want to avoid caching query parts representing implicit join)

Fixes #2855

@bahusoid bahusoid changed the base branch from master to 5.3.x July 15, 2021 05:51
@@ -725,6 +723,7 @@ void PrepareFilterParameter()

// Generate an explicit join for the root dot node. The implied joins will be collected and passed up
// to the root dot node.
dot.SkipSemiResolve = true;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's either implicit or entity join. So skip any processing that's not fully resolve this node.

@fredericDelaporte fredericDelaporte added this to the 5.3.10 milestone Jul 16, 2021
@hazzik hazzik merged commit 9d4b8c8 into nhibernate:5.3.x Jul 17, 2021
bahusoid added a commit to bahusoid/nhibernate-core that referenced this pull request Jul 24, 2021
bahusoid added a commit to bahusoid/nhibernate-core that referenced this pull request Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error log from ReflectHelper.TypeFromAssembly() on Linq query
3 participants