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
- transaction
- Exception
- AOP
- 김영한
- db
- jpa
- kotlin
- 스프링
- Thymeleaf
- pointcut
- 자바
- Greedy
- Proxy
- springdatajpa
- 알고리즘
- 인프런
- Servlet
- JDBC
- 스프링 핵심 원리
- spring
- 백준
- java
- Android
- 스프링 핵심 기능
- http
- JPQL
- QueryDSL
- SpringBoot
- Spring Boot
- 그리디
Archives
- Today
- Total
목록on (1)
개발자되기 프로젝트
Join
1. 기본 조인 조인의 기본 문법은 첫 번째 파라미터에 조인 대상을 지정하고, 두 번째 파라미터에 별칭(alias)을 사용하여 Q타입을 지정.(QTeam.team) @Override public Q join(EntityPath target, Path alias) { return queryMixin.join(target, alias); } /** * 팀A에 소속된 모든 회원 조회 */ @Test public void join(){ List result = queryFactory .selectFrom(member) .join(member.team, QTeam.team) .where(team.name.eq("teamA")) .fetch(); assertThat(result) .extracting("userna..
인프런/[인프런] QueryDsl
2021. 9. 2. 23:09