You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Michael Newman <fm...@hotmail.ro> on 2003/07/24 11:12:34 UTC

collection filtering from inverse relations

I have the following problem with OJB broker queries:

  In an object O we refer to a collection C named "mycollection" with "inverse-
foreignkey". When we make a build criteria, we add someField=value1 and 
mycollection.someOtherField=value2. "someField" belongs to O.
  The result is correct based on criterias for fields from O but it does not 
filter the collection "mycollection" based on the field "someOtherField". It 
retrives all the references to the parent object.

  Does anyone know what might be the problem or this is the correct behavior?

Thanks,
--
Michael Newman

______________________________________________________________________
Do you want a free e-mail for life ? Get it at http://www.hotmail.ro/


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org