JDO
  1. JDO
  2. JDO-569

Update the query BNF for subquery support

    Details

      Description

      The query BNF needs to be updated for subqueries.

      1. JDOQL 2.1 BNF.mif
        412 kB
        Michael Bouschen

        Activity

        Craig L Russell created issue -
        Hide
        Michael Bouschen added a comment -

        Attached you find an updated version of the JDOQL BNF. It includes a new subsection describing subqueries:

        --------------------------------

        Subqueries

        This section describes the syntax of subqueries in JDOQL.

        Subquery:
        SubquerySelect SubqueryFrom Where(opt) Decls

        SubquerySelect:
        select SubqueryResultClause

        SubqueryResultClause:
        distinctopt Expression (,opt)

        SubqueryFrom:
        from CandidateClassName Alias(opt) ExcludeClause(opt)
        from FieldAccess Alias(opt)

        Alias:
        as(opt) Identifier

        Show
        Michael Bouschen added a comment - Attached you find an updated version of the JDOQL BNF. It includes a new subsection describing subqueries: -------------------------------- Subqueries This section describes the syntax of subqueries in JDOQL. Subquery: SubquerySelect SubqueryFrom Where(opt) Decls SubquerySelect: select SubqueryResultClause SubqueryResultClause: distinctopt Expression (,opt) SubqueryFrom: from CandidateClassName Alias(opt) ExcludeClause(opt) from FieldAccess Alias(opt) Alias: as(opt) Identifier
        Michael Bouschen made changes -
        Field Original Value New Value
        Attachment JDOQL 2.1 BNF.mif [ 12374649 ]
        Hide
        Craig L Russell added a comment -

        The changes are included in the draft specification dated 2008-02-15.

        Show
        Craig L Russell added a comment - The changes are included in the draft specification dated 2008-02-15.
        Craig L Russell made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Andy Jefferson made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        32d 7h 50m 1 Craig L Russell 13/Feb/08 01:10
        Resolved Resolved Closed Closed
        852d 9h 51m 1 Andy Jefferson 14/Jun/10 12:01

          People

          • Assignee:
            Michael Bouschen
            Reporter:
            Craig L Russell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development