ON1 QueryDSL 조인 예제 Inner Join QCustomer customer = QCustomer.customer; QCompany company = QCompany.company; queryFactory.select(customer.firstName, customer.lastName, company.name) .from(customer) .innerJoin(customer.company, company) .fetch(); Left Join queryFactory.select(customer.firstName, customer.lastName, company.name) .from(customer) .leftJoin(customer.company, company) .fetch(); 다음과 같이 SQL처럼 on을 사용해서 조인 조.. 2019. 6. 5. 이전 1 다음