On Thu, 2002-12-05 at 04:13, Phil Warrick wrote:
> Hi all,
> 
> (Sorry for the double post, I should remember to proof-read my messages 
> _before_ hitting the send button...)
> 
> 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"
> 
> One of Jakob's posts got my hopes up:
> 
>http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgId=525022
> but this doesn't seem to be valid OQL syntax for OJB (chokes on 'in').
> 
> Leandro's work seems to have added extent-aware path expressions to PB:
> 
>http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgId=528385
> I assume that the current OQL parser cannot take advantage of this?
> 
> Can anyone comment on what would is needed to be done to the ODMG layer 
> to achieve this functionality?  Is it on anyone's todo list?

I know nothing about the ODMG layer, but if you need help on the PB
layer just let me know

> 
> I assume that if the above isn't going to happen that I could achieve 
> what I want with the PB?
> 
> 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