● Querydsl로 Pageable 처리 하기 > SPRING_DATA_JPA

본문 바로가기

사이트 내 전체검색

뒤로가기 SPRING_DATA_JPA

● Querydsl로 Pageable 처리 하기

페이지 정보

작성자 관리자 작성일 24-06-17 10:14 조회 888 댓글 0

본문

Querydsl 실행 시 Pageable을 처리하는 방법은 BoardSearchImpl이 상속한 QuerydslRepositorySupport라는 클래스의 기능을 이용한다. 

search1()의 코드 중간에 getQuerydsl()applyPagination()을 적용하자. 

댓글목록 0

등록된 댓글이 없습니다.


Copyright © dancePKT. All rights reserved.
PC 버전으로 보기