Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

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

Copy link
Copy link
@lshz0088

Description

@lshz0088
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.