Hi,
When reading ejb-3_0-fr-spec-persistence.pdf i came across this in chapter 4 Query language page 83 section 4.4.2 "Identification variables"
in the query given
SELECT DISTINCT o
FROM Order o JOIN o.lineItems 1 JOIN 1.product p
WHERE p.productTypr = 'office_supplies'
It is mentioned that
1) An identification variable is a valid identifier declared in the FROM clause of query
2) Also in section 4.4.1 spec says that the character sequence must begin with a
Java identifier start character
3) again in 4.4.2 -- ... the identification varaible 1 evaluates to any LineItem value ...
the part where i am confused is can "1" be identifier variable?
If not , some one please explain which all are identifier variables in the above query.
Suchitra