> > SELECT x.spouse.name FROM personsExtent AS X WHERE x.name = "Pat" > > to get the names of people married to a "Pat". (In case > of FastObjects as a String-array, not a DCollection) > > Can you do this in OJB-OQL, too?
you should be able to do this as: SELECT x.spouse.name FROM personsExtent WHERE name = "Pat" but I will not guarantee it! One thing our experience has shown us is that since OJB-OQL does not provide aliases (person x - x in person - pserson as x) something funny happens - if OJB recongnizes x.spouse.name as attributes on person objects, then all will be ok. However, if not, it will treat the whole x.spouse.name as a single string (like "select obj from persons where...") and will return the objects you query, not the requested property. > > Apart from the OQL-syntax, I agree that Poet has a fairly > standard compliant API and documentation. > > Oliver > > -- > Dr. Oliver Matz > ppi Media GmbH > Deliusstraße 10 > D-24114 Kiel > phone +49 (0) 43 1-53 53-422 > fax +49 (0) 43 1-53 53-2 22 > email mailto:[EMAIL PROTECTED] > web www.ppi.de > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>