본문 바로가기

개발 낙서장

검색하기
개발 낙서장
프로필사진 권승준

  • 분류 전체보기 (174)
    • Unity (16)
      • Devlog (13)
      • Technic (1)
      • Error (2)
    • Java (20)
      • Sparta (84)
    • HTML (1)
    • UnrealEngine (1)
      • Technic (1)
    • GameTheory (1)
    • Algorithm (39)
      • BOJ (3)
      • Programmers (36)
    • Git (5)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • GitHub
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • 워크플로
  • unityui
  • 유클리드호제법
  • 알고리즘
  • QueryDSL
  • Firebase
  • 프로그래머스
  • UE4
  • BFS
  • 스택
  • Unity
  • Unity2D
  • 이분탐색
  • UnrealEngine
  • Inventory
  • 순열
  • 내일배움캠프
  • 문자열
  • FSM
  • Unity3d
  • 포톤
  • 스파르타내일배움캠프TIL
  • 구현
  • 스파르타내일배움캠프
  • 언리얼엔진
  • 유니티
  • 해시
  • C++
  • c#
  • Photon
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록QueryDSL (1)

개발 낙서장

[Spring] QueryDSL 페이징

QueryDSL 페이징? 기존에 레포지토리에서 페이징 된 값을 받을 때처럼 Pageable 객체를 만들어 페이지 정보를 보내 QueryDSL로 작성된 쿼리문을 통해 받아오면 된다. List content = queryFactory.selectFrom(todo).where(todo.user.eq(user)) .offset(pageable.getOffset()) .limit(pageable.getPageSize()) .fetch(); Long count = queryFactory.select(todo.count()).from(todo) .where(todo.user.eq(user)).fetchOne(); return new PageImpl(content, pageable, count); 특정 User의 할 ..

Java 2024. 3. 12. 21:05
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바