-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Sorting by function result not possible if function contains parameter and Sort.by is used [DATAJPA-1750] #2045
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
Comments
Jens Schauder commented Could you provide a specific example where it fails? |
simonparadies commented See the tests in the linked PR |
Jens Schauder commented Strange I didn't see that. Thanks |
On 2.5.12 spring boot it works bu in 2.5.13 not working
and in repository
I get an error: |
Seems to be related to, possibly a duplicate of #2496 |
Backported to |
simonparadies opened DATAJPA-1750 and commented
The FUNCTION_PATTERN regex in QueryUtils does not match functions containing positional or named parameters. Therefore, in these cases, the order by clause is constructed using the entities' qualifier, which leads to an incorrect expression
Affects: 2.4 M1 (2020.0.0)
Referenced from: pull request #425
The text was updated successfully, but these errors were encountered: