Notice
Recent Posts
Recent Comments
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- zabbix
- Spring MVC
- Spring
- gwt
- spring jpa
- maven
- rember me
- JPA
- guvnor
- CEP
- spring security
- JBoss Seam
- GEventEvaluator
- COC
- @SqlResultSetMapping
- drools
- custom filter
- Drools Fusion
- spring transaction
- java tip
- Hudson
- jquery
- localdatetime
- querydsl
- MySQL
- jenkins
- gwt-ext
- ibatis
- jstl
- SVN
Archives
- Today
- Total
목록querydsl (1)
봉 블로그
[JPA] Spring + Querydsl Paging
Querydsl 3.6.7public class BoardRepositoryImpl extends QueryDslRepositorySupport implements BoardRepositoryCustom { public BoardRepositoryImpl() { super(Board.class); //Domain Class } ......JPQLQuery query = from(qBoard).where(predicate); Long totalCount = query.count(); List list = getQuerydsl().applyPagination(pageable, query).list(qBoard); return new PageImpl(list, pageable, totalCount);
java
2018. 3. 31. 07:47