No property found for type ! (Querydsl)
ํ ๋ด ์๊ฐ.... No property xxxx found for type xxx
๊ธฐ์กด์ ์๋ repository ์์ ์ถ๊ฐ์ ์ผ๋ก querydsl ์ ์ฌ์ฉํ๋ ค๊ณ custom interface ์ impl class ๋ฅผ ์์ฑํ๋ค
๊ณ์ํด์ ์คํ๋ง์ด ๋น์ ๋ชป์ฐพ์์ ๊ตฌ๊ธ๋ง ํด๋ณด๊ณ ๋ฉ์๋ ์ด๋ฆ๋ ๋ฐ๊พธ๋ฉฐ ์ฌ๋ฌ๊ฐ์ง ์๋ํ๋ค๊ฐ ๋ค์ ๋ธ๋ก๊ทธ๊ธ์ ๋ฐ๊ฒฌํ๋ค.
https://www.skyer9.pe.kr/wordpress/?p=6507
QueryDSL No property ๋ฉ์๋๋ช found for type ์ํฐํฐ๋ช ! – ์๊ตฌ๋ฆฌ์ ๊ธฐ์ ๋ธ๋ก๊ทธ
QueryDSL No property ๋ฉ์๋๋ช found for type ์ํฐํฐ๋ช ! ํด๋์ค๋ช xxxRepository xxxRepositoryCustom xxxRepositoryImpl (์ฃผ์ : xxxRepositoryCustomImpl XXX) ํด๋์ค๋ช ์ ์์ ๊ฐ์ด ๋ง์ถฐ์ฃผ์ด์ผ ํ๋ค. Post Views: 99 Category: QueryDSL S
www.skyer9.pe.kr
ํด๋์ค ์ด๋ฆ์ ๋ณ๊ฒฝํด์ ํด๊ฒฐํ๋๋ฐ ์ ๊ทธ๋ฌ๋๊ฑธ๊น?
QueryDsl ์ ์ฌ์ฉํ๋ฉด์ ํ์ฅํ class ์๋ Entity๋ช + Repository ๊ฐ ๋ถ์ด ์์ด์ผ ์ธ์์ ํ๋๊ฒ ๊ฐ๋ค.
๋ค์ด๋ฐ์ ์ง์ผ์ฃผ์ง ์์ผ๋ฉด JPA ์์ ์ฌ์ฉ์ ์ ์ ํด๋์ค์ธ๊ฑธ ์ธ์ํ์ง๋ชปํด ๊ณ์ํด์ ๋น์ฃผ์ ์ ์คํจํ๋๊ฒ ๊ฐ๋ค.