Hello Andres,

You can create an Expression and then use filterObjects on it.  See the
bottom of:

http://cayenne.apache.org/docs/3.0/in-memory-evaluation.html

mrg



On Fri, Nov 1, 2013 at 6:37 AM, Andres L. <[email protected]> wrote:

> Hi,
> When I have a "one to many" relationship between two entities I have
> something like this:
>
> // obj1 is an instance of Entity1
> List<Entity2> listObj2 = obj1.getEntity2Array();
>
> Is there a way to filter values on listObj2 by an attribute value?
>
> Thank you.
>
> Andres
>

Reply via email to