TO: Alessandro Colantoni: Problems with "LogicSqlCondition"

Hans Novak <[email protected]> Tue, 25 Sep 2007 15:44:18 +0200
Newsgroups gmane.comp.jakarta.ojb.user
Message-ID <[email protected]>
Hi Allesandro,

i have a question to the "LogicSqlCondition"

When i ask mandragora with

    Partner.class, new LogicSqlCondition("NAME","leftlike","r")  

i get not the object, whats beginnig with r, but one, who have an "r" 
somewhere in the name (and only 1 object, but there are more with "r" in 
the name).

When i call it

    Partner.class, new LogicSqlCondition("NAME","leftlike","r*") 

i get all object beginning with "r" and containig a "r" in the "NAME" Field.

What i doing wrong ?


Hans