Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

请问JPA 多表关联查询的时候,基于Pageable的排序怎么实现 #7

Open
lshz0088 opened this issue Mar 30, 2019 · 0 comments

Comments

@lshz0088
Copy link

我控制器部分是用srping的Pageable对象接收翻页和排序的,现在我的代码是这样的:
image
order by的默认参数是com.querydsl.core.types.OrderSpecifier类型
不知如何使用Pageable中的Sort转化为该对象
请不吝赐教

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant