Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- JPQL
- AOP
- transaction
- 스프링
- http
- Greedy
- Exception
- 그리디
- 자바
- Proxy
- springdatajpa
- Servlet
- SpringBoot
- Android
- 김영한
- 백준
- 스프링 핵심 기능
- spring
- JDBC
- jpa
- kotlin
- 스프링 핵심 원리
- db
- pointcut
- 알고리즘
- java
- 인프런
- Spring Boot
- Thymeleaf
- QueryDSL
Archives
- Today
- Total
목록Querydsl Paing (1)
개발자되기 프로젝트
페이징
1. 예제 offset : 몇 개 건너뒴? limit : 몇 개 씩? @Test public void paging1(){ List result = queryFactory .selectFrom(member) .orderBy(member.username.desc()) .offset(1) .limit(2) //2개씩 .fetch(); assertThat(result.size()).isEqualTo(2); } fetchResults()를 통해 페이징 정보 포함. @Test public void paging2(){ QueryResults queryResults = queryFactory .selectFrom(member) .orderBy(member.username.desc()) .offset(1) .limit(..
인프런/[인프런] QueryDsl
2021. 9. 1. 23:35