And for groovy you can also use:

exprBldr = new EntityConditionBuilder();
delegator.findList("InvoiceItemType", exprBldr.LIKE("%" + anyString +"%"), 
null, null, null, false);


Thanks & Regards
-- 
Deepak Dixit
HotWax Media Pvt. Ltd.
www.hotwaxmedia.com
Contact :- +91-98267-54548
Skype  :- deepakdixit

On Apr 6, 2011, at 10:28 PM, SkipDever wrote:

>            exprs.add(new EntityExpr(new EntityFunction.UPPER(new
> EntityFieldValue("infoString")), EntityOperator.LIKE, new
> EntityFunction.UPPER(("%" + email.toUpperCase()) + "%")));
>            List c =
> EntityUtil.filterByDate(delegator.findByAnd("PartyAndContactMech", exprs,
> UtilMisc.toList("infoString")), true);
> 
> -----Original Message-----
> From: Mith Atul [mailto:[email protected]]
> Sent: Wednesday, April 06, 2011 6:58 AM
> To: [email protected]
> Subject: How to use LIKE operator
> 
> 
> Can u help me use the LIKE Operator in ofbiz .
> Can u give me a demo code on how to use the LIKE operator the  way
> from the delegator class.
> Thnks in adv .
> 

Reply via email to