Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1290

Enable EntityGraph in findBy method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Data-Module
    • None
    • Patch

    Description

      Hi,

      According to @EntityGraph annotation:
      "Defines an entity graph to be applied to a query. This annotation can be added to any query method of a repository class."

      But it don't work in the findBy(PK) and findOptionalBy(PK) methods

      I made a patch that can solve it.

      Attachments

        1. findByEntityGraph.patch
          2 kB
          Marcelo Pio de Castro

        Activity

          People

            Unassigned Unassigned
            marcelo.castro Marcelo Pio de Castro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: