Hello everybody,

I have an object model in which there are two objects: Model and
Reactant. This is basically n to m relationship. Model can have a number
of Reactants. Reactants can be in a number of Models.
In Java this is emplemented by a Collection property in Model class.

I want to construct a query that allows me to find all the models that
have a particular reactant in them. How can I do it?

None of the examples given on the site deals with queries like this. Can
I do it with QueryByCriteria or do I need to use OQL for that?
If I need to use OQL where can I read about it? The OQL section on the
site is empty. How well does OJB support OQL?

thanks a bunch,

Kirill




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



Reply via email to