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

Port Hibernate's support subqueries in HQL as CASE statement alternatives #2106

Merged
merged 7 commits into from
Jun 19, 2019

Conversation

maca88
Copy link
Contributor

@maca88 maca88 commented Apr 6, 2019

Port HHH-1689

This feature is needed for #2079 which converts the whole conditional expression to sql. Tests for linq will be added with #2079 as currently it is not possible to test it due to the split of the conditional expression into separate columns which are then evaluated on the client side.

@maca88
Copy link
Contributor Author

maca88 commented Apr 6, 2019

As we have a failing test by just porting the feature as it is, I've modified the case expression definition to be consistent with Sql Server CASE definition and added an additional test for simple case expression.

@hazzik hazzik merged commit 0bdee94 into nhibernate:master Jun 19, 2019
@maca88 maca88 deleted the HHH-1689 branch September 27, 2019 20:35
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.

2 participants