일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 고정 아이피
- jenkins window
- AWS
- 윈도우 개발서버
- docker node
- modelmapper
- EC2
- NoArgsConstructor
- 알림톡
- QureyDsl
- DynamoDB
- jenkins bitbucket
- jdk upgrade
- Kotlin
- springboot
- docker app
- rbenv
- 비즈뿌리오
- querydsl
- layout-dialect
- push 403
- growpart
- Telegram API
- thymeleaf
- telegram
- docker
- 카카오 알림톡
- spring boot
- 개발서버
- NoSQL Workbench
- Today
- Total
목록백엔드 (18)
givepro
최근 프로젝트를 진행하면서 통계 관련된 페이지를 작업하느라 native query 형태로 작업을 하고 있다. 이전에는 native query로 페이징까지는 해보질 않아서 어떻게 접근해야 할지 감이 안잡혔는데 이번에 도움이 많이 됬다. 우선 쿼리 어노테이션의 형태는 아래와 같이 하도록 한다. @Query(nativeQuery = true, value = "", countQuery = "") Page testPage(@Param("param1") String param1, @Param("param2") String param2, @PageableDefault(size=10) Pageable pageable); 핵심은 꼭 countQuery 속성을 추가해야 한다. 그래야 특정 갯수 이상에서 pageable이 ..
Thymeleaf layout 구성 build.gradle 설정 dependencies { ... // thymeleaf Setting implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5' implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect' ... } 레이아웃 구성 프로젝트 리소스 구성 static templates로 구분 각각의 fragment에 대한 구성은 해당 폴더의 파일로 분기를 한다. he..