Use Entity Graph with projections #169
-
Hello all, I try to use Cosium Entity Graph library with JPA projections (https://docs.spring.io/spring-data/jpa/reference/repositories/projections.html) but I get an InapplicableEntityGraphException. Thanks ! |
Beta Was this translation helpful? Give feedback.
Answered by
reda-alaoui
Mar 20, 2024
Replies: 1 comment 3 replies
-
Under the hood, |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
reda-alaoui
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Under the hood,
spring-data-jpa
projections lead to multi select JPA queries which are not compatible with JPA EntityGraph. You can't have both.