Hi Anurag,
Try this:-
<entity-condition entity-name="temp " list="tempList" >
<condition-list combine="or">
<condition-expr field-name="name" value="ravi"/>
<condition-expr field-name="name" value="anu"/>
</condition-list>
</entity-condition>
Hope it will work.
Regards,
Praveen Agrawal
On Wed, Jul 25, 2012 at 7:57 PM, Anurag Walia <
[hidden email]>wrote:
> Hello All,
>
> I need you help.
>
> I need to retrieve a list from entity.
>
> Query like: select * from temp where name='ravi' OR name='anu';
>
> I have tried this but not working:
> <entity-and entity-name="temp " list="tempList">
> <field-map field-name="name" value="ravi"/>
> <field-map field-name="name" value="anu"/>
> </entity-and>
>
>
> can you provide me some input from your side?
>
> Regards
> Anurag
>
>
>
> --
> View this message in context:
>
http://ofbiz.135035.n4.nabble.com/I-need-to-retrieve-a-list-from-entity-tp4635223.html> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>