hi,
i have a 1:n relationship between Person an Phones.
if i make the following query to persons, i get all persons with a phonenumber like
"052*"
crit = new Criteria();
crit.addLike("phones.number", "052*");
query = new QueryByCriteria(Person.class, crit);
thats ok!
but when if i make a
person.getPhones();
i get all phone numbers of the person and not only these numbers that match to the
query criteria that i need!!
is there any solution??????
regards thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]