ํ๋ก์ ์ (Projections) QueryDSL์ ์ด์ฉํด Entity ์ ์ฒด๋ฅผ ๊ฐ์ ธ์ค๋ ๊ฒ์ด ์๋๋ผ, ์กฐํ ๋์์ ์ง์ ํ ์ ์๋ค. ํน์ ์ปฌ๋ผ๋ง์ SELECT ํด์ค๋ ์ปค์คํ ๋ฉ์๋๋ฅผ ์์ฑํ ๊ฒฝ์ฐ, Entity์์ ์ ์ฒด ํ๋๋ฅผ ํธ์ถํ๋ ๊ฒ์ด ์๋๋ผ, ํน์ ๋์๋ง ๊ฐ์ ธ์ค๊ณ ์ถ๊ธฐ ๋๋ฌธ์ (๋๊ฐ์ ๊ฒฝ์ฐ) ์์ฑ์ ๋ฐฉ์์ธ Projectsions.constructor์ ์ด์ฉํ์ฌ DTO์ ์ ์ํ ํ๋๋ง์ ํธ์ถํ์๋ค. ๊ทธ๋ฐ๋ฐ DTO ์ค์์๋ ํน์ ํ๋๋ง ๊ฐ์ ธ์ค๊ณ ์ถ๋ค๋ฉด? @RequiredArgsConstructor public class TestRepoImpl implements TestRepoCustom { private final JPAQueryFactory jpaQueryFactory; @Override publi..