-
[Spring JPA] Interface-Based Projection doesn't work.Back End/Spring Data JPA 2022. 1. 28. 18:14
The reason why interface-based-projection doesn't work is upto Spring-Boot version.
I found it works well under version 2.6.1 and doesn't work in 2.6.3.
And still, Class-Based Projection needs convertor.
Hope it'd be helpful :D
728x90'Back End > Spring Data JPA' 카테고리의 다른 글
[Spring JPA] JPA, JPQL 의 조인 시 주의할 점 (Outer, Inner, Fetch) (0) 2022.01.29 [Spring JPA] How to retrieve Only SuperClass from a class hierarchy. (0) 2022.01.28 [Spring JPA] 복합키(PK)의 성능을 알아보자! (0) 2022.01.26 [Spring JPA] @OneToOne 에서 @MapsId 를 이용해 컬럼갯수를 줄여보자! (0) 2022.01.26 [Spring JPA] @OneToMany 에서 @MapsId 사용하기 (2) 2022.01.24