Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[EMF Query2] Issue with alias in an or textual query
https://www.eclipse.org/forums/index.php/mv/msg/208527/668021/#msg_668021
the query
from A as a
select a
where
a.prop = "test"
or
a.refB in (
from B as b
select b
where
b.prop = "test"
)
results in a validation error, saying that
Quote:
The current query can only execute where entries in an or subtree if they share the same alias
The statement b.prop = "test" is marked as the source for the validation error.
I was wondering what the exact meaning of the message is and why there is such a limitation. For me the query looks fine.
cheers,
Christian
]]>No real name2011-05-03T12:32:48-00:00Re: [EMF Query2] Issue with alias in an or textual query
https://www.eclipse.org/forums/index.php/mv/msg/208527/668114/#msg_668114
Looks like a bug to me.Need to check in the Query2 XText model.
Can you please open a bugzilla request with the details ?