반응형

JPAExpression.select를 이용해서 발생했던 문제.
-> JPAQueryFactory(entityManager)로 이용했더니 됨.

구글링 내용
출처: https://velog.io/@sigint_107/GraphQL-QueryDsl-null-Fetching-Error
GraphQL디버거에서 나온 에러내용
"Exception while fetching data (/comparePartsCond) : null",
IntelliJ console에서 나오는 에러내용
UnsupportedOperationException: null
원인은 queryDsl쿼리를 JPAexpression객체로 불러서 나오는 에러였다. 
원래대로라면 JPAQueryFactory가 QueryDsl쿼리를 부르는 맞는 객체이다.

반응형
LIST

+ Recent posts