스프링 부트/QueryDsl2 QueryDsl 기본 문법 보호되어 있는 글 입니다. 2022. 2. 7. 스프링 부트 queryDsl 환경 설정하기 사용 환경 스프링부트 : 2.5.9 버전 2.6 이상부터는 에러가 납니다 build.gradle에서 여러가지 추가해야 합니다. 1. dependencies에 추가 //querydsl 추가 implementation 'com.querydsl:querydsl-jpa' implementation 'com.querydsl:querydsl-core' 2. 쿼리 파라미터 로그 남기기 //로그 남길때 implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.5.8' 3. build.gradle 최 상단에 추가 buildscript { ext { queryDslVersion = "5.0.0" } } 4. plugins에 아래 코드 추가 id "com.e.. 2022. 2. 5. 이전 1 다음