jpa-spec
  1. jpa-spec
  2. JPA_SPEC-59

Clarify namespaces of type aliases and named parameters

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:

      JPA 2.1

      Description

      JPA 2.1 Section 3.10.12, "Named Parameters", does not explicitly require that the namespaces of type aliases and named parameters be distinct. Some implementations fail & some succeed on JPQL of the following form:
      SELECT x FROM Thing x WHERE x.foobar = :x

      The specification should be explicit as to whether type aliases and named parameters share the same namespace.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Matthew Adams
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: