Re: TO: Alessandro Colantoni: Problems with "LogicSqlCondition"
Hans Novak <[email protected]> Wed, 26 Sep 2007 09:14:42 +0200
| Newsgroups | gmane.comp.jakarta.ojb.user |
|---|---|
| Message-ID | <[email protected]> |
Ok, this helps. thx Hans Alessandro Colantoni schrieb: > Hi Hans > I think that in an other post I got mistake. > > If you want all beginning with r you have to put RIGHTLIKE. > when you use RIGHTLIKE just updated a criteria in this way > > > criteria.addLike(field,value+"%"); > > with leftLike > > criteria.addLike(field,"%"+value); > > I hope this help > Regards > Alessandro > >