Spring data JPA @Entitygraph fetch subset of @OneToMany
In spring data jpa one can use an entitygraph to specify exactly what data needs to load.I am however stuck on when I don’t want to fetch the whole subcollection. I was wondering how I can achieve something like this. Suppose you have a translation table: