반응형
250x250
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 |
Tags
- codedeploy
- chartjs
- Spring Error
- 도커
- Jenkins
- codebuild
- IntelliJ
- chart.js
- JavaScript
- kubeflow
- Flux
- VPN
- PostgreSQL
- java bigdecimal
- aws cicd
- Python
- Spring
- AWS CI/CD 구축하기
- Airflow
- bootstrap
- aws
- Kafka
- COALESCE
- codedeploy error
- SQL
- node
- docker
- codepipeline
- or some instances in your deployment group are experiencing problems.
- redis
Archives
- Today
- Total
목록BooleanBuilder (1)
Small Asteroid Blog
[spring] querydsl 동적쿼리
동적쿼리가 필요한 상황에서 querydsl을 사용하면 쉽게 해결 가능하다. BooleanBuilder BooleanBuilder를 이용해서 조건들을 이어붙여 where 문에 넣어주는 방식이다 and , or 사용 private List searchMember1(String usernameCond, Integer ageCond) { BooleanBuilder builder = new BooleanBuilder(); if (usernameCond != null) { builder.and(member.username.eq(usernameCond)); } if (ageCond != null) { builder.and(member.age.eq(ageCond)); } return queryFactory .selec..
백엔드/Spring
2021. 9. 10. 10:44