Skip to content

Add support for sorting by a QueryDSL OrderSpecifier. [DATACMNS-402] #871

Closed
@spring-projects-issues

Description

@spring-projects-issues

Thomas Darimont opened DATACMNS-402 and commented

It should be possible to define a sort with given OrderSpecifiers which would allow us to define type-safe order criterias like:

QSender sender = QSender.sender;
Pageable pageRequest = new QPageRequest(0, 20, new QSort(sender.name.asc()));

Issue Links:

  • DATAJPA-12 Add Sort implementations that use JPA Metamodel API and/or QueryDsl API

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions