Skip to content

Fix casting to unmapped interface in LINQ #2879

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

Merged
merged 7 commits into from
Aug 8, 2021

Conversation

bahusoid
Copy link
Member

@bahusoid bahusoid commented Aug 2, 2021

Fixes #2858 Regression from #2036

@bahusoid bahusoid added this to the 5.3.10 milestone Aug 2, 2021

// Assume type conversion doesn't change entity type
persister = currentEntityPersister;
return 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.

HQL doesn't support entity casts. So to me this whole method looks like unnecessary complication. At least we shouldn't loose already resolved persister.

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.

3 participants