Phil Warrick wrote:
I have the impression that OQL statements cannot use path expressions, and even if they could, they would not be extent aware. For example, I want to do the following kind of query on a class hierarchy:

class A
protected String att1

class B extends A
protected String att2

select b from b in B where b.att1 = "somethingInteresting"
My mistake: this does work with this OQL:

select b from B where att1 = "somethingInteresting"

But the question remains about path expressions and OQL: if instead I wanted to do

select b from b in B where b.ref1.att1 = "somethingInteresting"

I think that some work would need to be done to the ODMG layer. It this work that will eventually be done?

Thanks,

Phil



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to