Hi, Michael Ochtrop wrote: > Hi, > > I don't quite understand how to use OQL with OJB. How much 'OQL' > does OJB actually support? There have been several questions about > OQL on this list, e.g. about joins, but the problems posted didn't > get solved. The tutorial doesn't go very far either. >
Our OQL support relies on translating OQL to PersistenceBroker queries. That is evything thant can be expressed with PB queries can be written in OQL. Not more not less. Things that do not work: using agregate functions querying results of non-entity types querying results of multiple types > Is there any way to find out how to use OQL, especially when it comes > to joins? Does anybody have a working example? you can 1. study our oql.g the oql grammar file used to construct the parser (in o.a.ojb.odmg.oql) 2. write a simple interpreter shell that allows to enter oql statements, executes them, displays the results and so forth. cheers, Thomas > > Thanks for any help > > Michael > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
