Description
Miguel Cardoso opened DATAJPA-988 and commented
If you use a repository that extends QueryDslPredicateExecutor and then try to use a method with a @EntityGraph
annotation Spring Data will fail to perform the query since it seems to be ignoring the @EntityGraph
annotation so it won't join the entities referred on it.
There is a thread at SO with a good example of the problem and a potential fix, but this involves using custom repositories and removing the @EntityGraph
annotation:
http://stackoverflow.com/questions/27494988
I think this is an important bug since it will require a lot of boilerplate code to be written for something that should be trivial otherwise (ie using a simple @EntityGraph
annotation).
Affects: 1.10.4 (Hopper SR4)
Reference URL: http://stackoverflow.com/questions/27494988
1 votes, 2 watchers