It would be neat to provide an entity graph to a query method through a Spring Data JPA type allowing:
- Declaration through typed property paths (e.g.
EntityGraphHint.fetch(Person::getFirstName, Person::getAddress, …))
- From a named entity graph reference (
EntityGraphHint.fetch("my-named-graph"), EntityGraphHint.load("my-named-graph"))
- From a
EntityGraph object (EntityGraphHint.fetch(obj), EntityGraphHint.load(obj))
Within this ticket, we should also consider the following changes:
It would be neat to provide an entity graph to a query method through a Spring Data JPA type allowing:
EntityGraphHint.fetch(Person::getFirstName, Person::getAddress, …))EntityGraphHint.fetch("my-named-graph"),EntityGraphHint.load("my-named-graph"))EntityGraphobject (EntityGraphHint.fetch(obj),EntityGraphHint.load(obj))Within this ticket, we should also consider the following changes: