On Fri, 2002-12-06 at 12:22, Phil Warrick wrote:
> 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?
> 

dunno, I don't touch the ODMG layer, I think you have to ask thomas !

> Thanks,
> 
> Phil
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb


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

Reply via email to