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

Make JpaSort.unsafe() operational for HQL, EQL, and JPQL. #3187

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Sep 29, 2023

  1. Create branch.

    gregturn committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    26533a1 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Make JpaSort.unsafe operational.

    We have offered this method as a way for people to customize an ORDER BY clause beyond a simple property name. For example, someone could use "LENGTH(firstname)" as a function to order by the length of each row's lastname instead of ordering by the lastname itself.
    
    By using the relevant parser and applying a different visitor, this commit make operational a feature that shows little evidence of ever having worked.
    
    See #3172.
    gregturn committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    6aad414 View commit details
    Browse the repository at this point in the history