Closed
Description
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