Mason

  • 홈
  • 태그
  • 방명록

PagingAndSortingRepository 1

Spring Data JDBC에서 Offset-Pagination 적용하기

페이지네이션(Pagination) Pagination이란 데이터 베이스에 회원 정보가 100건이 저장되어 있는데 클라이언트 쪽에서 100건의 데이터를 모두 요청하는 것이 아니라 한 페이지에 일정 개수만큼만 나누어서 달라고 요청하는 것을 페이지네이션(Pagination)이라고 한다. Pagination에는 Offset Pagination과 Cursor Pagination이 있다. Offset Pagination 출력되는 모든 결과물을 특정한 개수만큼 나누어 페이지별로 제공하는 형식이다. 일반적인 게시판 형태(검색 엔진 등)이다. Cursor Pagination 정해진 개수만큼의 데이터를 가저와 로드하고 이후 로드된 마지막 데이터부터 다시 정해진 개수만큼의 데이터를 가저와 로드하는 형식이다. SNS에 주로 ..

Java/Spring & Spring Boot 2023.04.21
이전
1
다음
더보기
프로필사진

Mason

  • 분류 전체보기 (140)
    • Projects (19)
      • Personal project - 게시판 만들기 (9)
      • Team project - 스택오버플로우 클론코딩 (3)
      • Team project - ShellWe (7)
    • Personal Research (5)
    • Java (52)
      • Java (25)
      • Spring & Spring Boot (20)
      • Spring Security (7)
      • Spring WebFlux (0)
    • DB (5)
    • Javascript (9)
    • Nodejs (6)
    • Typescript (4)
    • Datastructure & Algorithm (16)
    • Coding Test Practice (9)
    • Basics of Computer Science .. (7)
    • Deployment (2)
    • Docker (0)
    • Linux Ubuntu (2)
    • Git and Github (2)
    • IntelliJ (1)
    • CS & Interview (1)

Tag

객체지향 프로그래밍, GraphQL, JPA, Enum, OOP, 비동기, DB, transaction, 동기, typescript, optional, annotation, 재귀, Thread, 스레드, apollo, sql, UsernamePasswordAuthenticationToken, mysql, SecurityContextHolder,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바