Skip to content

DATAMONGO-1085 - Sort can not use the metamodel classes generated by QueryDSL. #236

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

Closed
wants to merge 2 commits into from

Conversation

thomasdarimont
Copy link

Added test case for sorting with a QueryDSL OrderSpecifier. Seems to work as expected.

@thomasdarimont thomasdarimont force-pushed the issue/DATAMONGO-1085 branch 2 times, most recently from 02926e5 to 4a9870e Compare November 13, 2014 12:54
@thomasdarimont thomasdarimont force-pushed the issue/DATAMONGO-1085 branch 2 times, most recently from a33fb26 to 43e4f0e Compare December 1, 2014 10:12
We now translate QSort's OrderSpecifiers into appropriate sort criteria.
Previously the OrderSpecificers were not correctly translated to appropriate property path expressions.
Added support for findAll(Pageable) and findAll(Sort) to QueryDslMongoRepository.
Avoid multiple creations of sortObjects in MongoTemplate.getMappedSortObject(..).
thomasdarimont pushed a commit that referenced this pull request Dec 1, 2014
We now translate QSort's OrderSpecifiers into appropriate sort criteria.
Previously the OrderSpecifiers were not correctly translated to appropriate property path expressions.

We're now overriding support for findAll(Pageable) and findAll(Sort) to QueryDslMongoRepository to apply special QSort handling.

Original pull request: #236.
thomasdarimont pushed a commit that referenced this pull request Dec 1, 2014
We now translate QSort's OrderSpecifiers into appropriate sort criteria.
Previously the OrderSpecifiers were not correctly translated to appropriate property path expressions.

We're now overriding support for findAll(Pageable) and findAll(Sort) to QueryDslMongoRepository to apply special QSort handling.

Original pull request: #236.
@odrotbohm odrotbohm closed this Dec 1, 2014
@odrotbohm odrotbohm deleted the issue/DATAMONGO-1085 branch December 1, 2014 11:11
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

Successfully merging this pull request may close these issues.

2 participants