We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Swapnil Vaidya opened DATAJPA-1821 and commented
I have default null ordering property as 'last' in my Spring Boot Project
hibernate.order_by.default_null_ordering: last
This is not working for the database columns where datatype = text
in POSTGRESQL database.
No further details from DATAJPA-1821
The text was updated successfully, but these errors were encountered:
How are you calling the repository when you want the sorting to occur? Since sorting is only applied when the method call actually requests sorting.
When I have the following in my application.properties: spring.jpa.properties.hibernate.order_by.default_null_ordering=first
spring.jpa.properties.hibernate.order_by.default_null_ordering=first
firstNames with value null are returned first when I call: repository.findAll(Sort.by(Sort.DEFAULT_DIRECTION, "firstName"));
repository.findAll(Sort.by(Sort.DEFAULT_DIRECTION, "firstName"));
No sorting occurs when I call: repository.findAll();
repository.findAll();
Sorry, something went wrong.
This is a duplicate of #1280 (JPA does not support NULL precedence)
schauder
No branches or pull requests
Swapnil Vaidya opened DATAJPA-1821 and commented
I have default null ordering property as 'last' in my Spring Boot Project
hibernate.order_by.default_null_ordering: last
This is not working for the database columns where datatype = text
in POSTGRESQL database.
No further details from DATAJPA-1821
The text was updated successfully, but these errors were encountered: