Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1, 1.0.2
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      Provide a configuration option to control JPQL compliance checks

        Activity

        Hide
        Patrick Linskey added a comment -

        Ported to trunk in r666909.

        Show
        Patrick Linskey added a comment - Ported to trunk in r666909.
        Hide
        Patrick Linskey added a comment -

        Changed default to 'warn'.

        Show
        Patrick Linskey added a comment - Changed default to 'warn'.
        Hide
        Patrick Linskey added a comment -

        The new setting defaults to 'strict'. I think that 'warn' or 'extended' might be a better default.

        Show
        Patrick Linskey added a comment - The new setting defaults to 'strict'. I think that 'warn' or 'extended' might be a better default.
        Hide
        Patrick Linskey added a comment -

        This is now implemented with a new openjpa.Compatibility flag. To use:

        openjpa.Compatibility: JPQL=[strict|warn|extended]

        When set to 'warn', this will issue one warning per extended-syntax query per invocation in a particular EMF.

        Currently, the extended-syntax recognized by this compatibility setting are scalar functions in the SELECT, GROUP BY, and ORDER BY clauses.

        Show
        Patrick Linskey added a comment - This is now implemented with a new openjpa.Compatibility flag. To use: openjpa.Compatibility: JPQL= [strict|warn|extended] When set to 'warn', this will issue one warning per extended-syntax query per invocation in a particular EMF. Currently, the extended-syntax recognized by this compatibility setting are scalar functions in the SELECT, GROUP BY, and ORDER BY clauses.

          People

          • Assignee:
            Unassigned
            Reporter:
            Patrick Linskey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development