Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M2
    • Fix Version/s: 2.0.0-M2
    • Component/s: query
    • Labels:
      None

      Activity

      Hide
      Catalina Wei added a comment -

      1.JPA2 does not allow fetch join syntax in subselect's from clause.
      2. the derived path expression of subselect syntax is processed the same as FROMITEM.

      sample query:

      "select c from Company1 c where exists" +
      " (select d from c.organization d where KEY(d) = ?1)" +
      " order by c ",

      in the above query, c.organization in from clause is a derived path expression.

      Show
      Catalina Wei added a comment - 1.JPA2 does not allow fetch join syntax in subselect's from clause. 2. the derived path expression of subselect syntax is processed the same as FROMITEM. sample query: "select c from Company1 c where exists" + " (select d from c.organization d where KEY(d) = ?1)" + " order by c ", in the above query, c.organization in from clause is a derived path expression.

        People

        • Assignee:
          Catalina Wei
          Reporter:
          Catalina Wei
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development