Thank you it worked.
Can we use like operator  incase of case insensitive query.



---------- Forwarded message ----------
From: SkipDever <[email protected]>
Date: Wed, Apr 6, 2011 at 10:28 PM
Subject: RE: How to use LIKE operator
To: [email protected]


           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