spring-projects / spring-projects/spring-data-jpa
Allow fluent API to reuse existing named entity graphs
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
the fluent API currently only has the ability to dynamically define an entity graph using the FetchableFluentQuery.project methods. It would be nice to be able to reuse existing named entity graphs (e.g. defined through the NamedEntityGraph annotation).
I don't know if this is the right project for the feature request, but since named entity graphs are a JPA feature, I thought this would be the right place.
Best Regards
Daniel
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing FetchableFluentQuery.project and the existing NamedEntityGraph annotation support in this repository. Define how the fluent API should select an existing named graph, then add focused coverage showing that the graph is reused when the query runs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100