Issue Details (XML | Word | Printable)

Key: JPA_SPEC-59
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Matthew Adams
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
jpa-spec

Clarify namespaces of type aliases and named parameters

Created: 11/Jun/13 03:39 PM   Updated: 11/Jun/13 03:39 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment:

JPA 2.1


Tags: jpa jpql parameter
Participants: Matthew Adams


 Description  « Hide

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.



There are no comments yet on this issue.