Hi,
Persistence spec 4.4.5 says that
"It is syntactically illegal to compose a path expression from a path expression that evaluates to a collection.
For example, if o designates Order, the path expression
o.lineItems.product is illegal
since navigation to lineItems results in a collection. This case should produce an error when the
query
string is verified."
but following query executes without exceptions on sun app server:
and spec's article on the 'group by' doesn't mention any peculiarities for path expressions used in group by clause...
So, where is the bug, in spec, in sun's implementation or i'm missing something?
wbr, eugen.