You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "John D. Ament (JIRA)" <ji...@apache.org> on 2017/03/02 01:56:45 UTC

[jira] [Created] (DELTASPIKE-1237) Fetch definitions for queries

John D. Ament created DELTASPIKE-1237:
-----------------------------------------

             Summary: Fetch definitions for queries
                 Key: DELTASPIKE-1237
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1237
             Project: DeltaSpike
          Issue Type: New Feature
            Reporter: John D. Ament


In JPQL you can define a query such as {{select e from Entity e join fetch e.someChild}}.  You can't do this with method expressions.  It would also be a bit too verbose to include all of the fetches.

We should introduce some ways to define the fetches for a query, as well as whether its outer or inner join ( see notes from http://docs.oracle.com/html/E13946_04/ejb3_langref.html#ejb3_langref_Joins where its either "[INNER] JOIN" or "LEFT [OUTER] JOIN"



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)