Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [EMF Query2] Issue with alias in an or textual query
[EMF Query2] Issue with alias in an or textual query [message #668021] Tue, 03 May 2011 12:32 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: May 2011
Junior Member

the query
from A as a
select a
	a.prop = "test"
	a.refB in (
		from B as b
		select b
			b.prop = "test"

results in a validation error, saying that
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.


Re: [EMF Query2] Issue with alias in an or textual query [message #668114 is a reply to message #668021] Tue, 03 May 2011 19:34 Go to previous message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Hi Christian,

Looks like a bug to me.Need to check in the Query2 XText model.
Can you please open a bugzilla request with the details ?

Will look at it as soon as possible.


[Updated on: Tue, 03 May 2011 19:34]

Report message to a moderator

Previous Topic:MOF Profiling
Next Topic:createPropertyEditor for EReferenceImpl
Goto Forum:

Current Time: Sat May 26 12:23:02 GMT 2018

Powered by FUDForum. Page generated in 0.01572 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top