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
- 인프런
- db
- Spring Boot
- QueryDSL
- 김영한
- 스프링 핵심 원리
- java
- Greedy
- kotlin
- 스프링
- 스프링 핵심 기능
- 알고리즘
- 그리디
- AOP
- JPQL
- spring
- Thymeleaf
- springdatajpa
- 백준
- 자바
- Proxy
- jpa
- SpringBoot
- Exception
- JDBC
- transaction
- Servlet
- pointcut
- Android
- http
Archives
- Today
- Total
목록@QueryProjection (1)
개발자되기 프로젝트
프로젝션과 결과 반환 : DTO, @QueryProjection
1. @QueryProjetion DTO의 생성자에 @QUeryProjection 붙여주고 @Data public class MemberDto { private String username; private int age; @QueryProjection public MemberDto(String username, int age) { this.username = username; this.age = age; } public MemberDto() { } } compileQuerydsl을 실행하면 DTO로 Q파일로 만들어줌 ㄷㄷ /** * study.querydsl.dto.QMemberDto is a Querydsl Projection type for MemberDto */ @Generated("com.quer..
인프런/[인프런] QueryDsl
2021. 9. 3. 22:15