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

How to include selectCase in the RSQL query ? #164

Open
traycho opened this issue Nov 28, 2024 · 0 comments
Open

How to include selectCase in the RSQL query ? #164

traycho opened this issue Nov 28, 2024 · 0 comments

Comments

@traycho
Copy link

traycho commented Nov 28, 2024

I would like to include hibernate selectCase as part of the SQL query generated by the RSQL.

I am getting the following error: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
This happens because of the order by case when .... end statement is not part of the select field.

Do you have ideal how to include it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant