Skip to content

Consider EntityGraph argument for query methods #4175

Open

Description

@mp911de

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:

Activity

  1. jaepar commented on Feb 20, 2026

    @jaepar

    @mp911de Hi, I’d like to work on this issue.
    Is anyone currently working on it? If not, may I take it?

  2. mp911de commented on Feb 20, 2026

    @mp911de
    MemberAuthor

    Sure, feel free.

  3. yeomin4242 commented on May 18, 2026

    @yeomin4242

    Hi, @mp911de

    I’d like to work on this issue. I saw that @jaepar had previously asked to take it, but I couldn’t find any related PR or recent activity.

    If it’s currently available, may I take it?

  4. jewoodev commented on Jun 4, 2026

    @jewoodev
    Contributor

    @yeomin4242 Hi, just checking in here — are you still planning to take this issue? I'm considering working on it myself, but didn't want to overlap if you're already in progress. Either way is fine with me; happy to wait or pick it up depending on what suits you.

  5. yeomin4242 commented on Jun 15, 2026

    @yeomin4242

    @jewoodev Thanks for checking in. I’m still working on this, although progress has been a bit slower than I hoped. I’d like to continue with it if that’s okay

  6. added 2 commits that reference this issue on Jun 16, 2026
    89181cd
    8788976
  7. added a commit that references this issue on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions