Use the newer where
syntax:
One.findAll {
manies.size() > 0
}
This will create a query like:
from
One this_
where
? < (
select
count(*)
from
Many
where
this_.id=one_id
)