EclipseLink lazy loading hangs on reference class
问题 I am attempting to query a person by id and in my schema below i have a @OneToMany reference between Address and Person and a ManyToOne reference between person and School. I use a named query and query hints to get the best performing query for this simple task but looking at the stack trace (Relevant parts posted), EclipseLink generates three Select statements when all i want is the person object by id? Using eager fetching was killing performance and so my question is how can i simply