Using delegator.find() instead of delegator.findList() would help.
On Mon, Mar 10, 2014 at 7:35 PM, <
[hidden email]> wrote:
> Hi to everyone, i've done the following query with the IN clause.
>
> List<GenericValue> XXXList = delegator.findList("XXX", null, null,
> null, null, false);
>
> List<GenericValue> listIt =
> EntityUtil.filterByCondition(XXXList,
> EntityCondition.makeCondition("field",
> EntityOperator.IN, listInClause));
>
> QUERY : select * from XXX where field IN (..,..,..,...)
>
>
> now, i want to transform 'listIt' , to EntityListIterator. How can do that?
>
> I need to transform it to a EntityListIterator because i've done a custom
> service, that wrap 'performFind' service.
> So, i've the same OUT parameters .
>
> Any suggestions??
> Thanks
>
>