반응형
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 | 31 |
Tags
- QueryDSL
- vue.js
- spring boot redis
- ChannelPipeline
- mybatis
- grafana
- Netty
- spring cloud
- Airflow
- Selenium
- jmeter
- MySQL
- netflix oss
- docker
- Redis Sentinel
- redis
- cassandra
- JPA
- docker-compose
- Spring Open Feign
- docker compose mysql
- Hibernate
- WebLogic
- RabbitMQ
- coalesce
- argo cd
- Docker Compose
- spring boot
- weblogic 10
- KAFKA
Archives
- Today
- Total
목록2019/08 (1)
IT.FARMER
QueryDsl Projection.bean Object로 조회 결과 받기
DTO(Entity)를 처음 인자로 넣어 주고 Object와 mapping 되는 columl의 인자 값을 셋팅 한다. create a Bean populating projection for the given type and expressions Example UserDTO dto = query.select( Projections.bean(UserDTO.class, user.firstName, user.lastName)); @Embeddable / @EmbeddedId 로 멀티PK가 잡힌 경우엔 Projection.bean 사용시, alias 기능을 이용하여 Mapping 시켜 준다. QAdGroupEntity qAdGroupEntity = QAdGroupEntity.adGroupEntity; List a..
Spring/Spring Data JPA
2019. 8. 26. 10:18