You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Marcelo Pio de Castro (JIRA)" <ji...@apache.org> on 2017/09/11 04:10:00 UTC

[jira] [Created] (DELTASPIKE-1290) Enable EntityGraph in findBy method

Marcelo Pio de Castro created DELTASPIKE-1290:
-------------------------------------------------

             Summary: Enable EntityGraph in findBy method
                 Key: DELTASPIKE-1290
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1290
             Project: DeltaSpike
          Issue Type: Improvement
          Components: Data-Module
    Affects Versions: 1.8.0
            Reporter: Marcelo Pio de Castro
         Attachments: findByEntityGraph.patch

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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)