Spring Repository Projection Get Child of One Object
问题 I am using Spring Repository interfaces a lot. One was working fine for me but then I realized I needed a little bit more from it. I wanted to go one more level of get() I work on an intranet so can't copy and paste but hopefully the following will give enough info to make it understandable... @Entity @Table(name="person") class Person { ... } @Entity @Table(name="requisite") class Requisite { ... @OneToOne @JoinColumn private Document document; } @Entity @Table(name="person_requisite") class