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

Treat transparentcast as guessed type in hql #3259

Merged
merged 9 commits into from
Mar 22, 2023

Conversation

bahusoid
Copy link
Member

Fixes #3256

Related to #707
The whole transparentcast concept is a bit hacky and breaks hql parameter detection logic in case some custom type is used (enum string is one example). So let's extend this hack a bit more to let hql know that transparentcast is just a guessed type hint.

@fredericDelaporte fredericDelaporte added this to the 5.5 milestone Mar 20, 2023
@bahusoid bahusoid merged commit 9c4befc into nhibernate:master Mar 22, 2023
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.

Invalid SQL is generated for string Enum used in conditional LINQ
2 participants