Hi,

how can I define nested joins using Criteria API or Method Expressions?
I think this feature isn't implemented yet. Does it make sense?

e.g. if I have a relation Person --> Company --> Country

criteria()
.join(Person_.company)
.join(Company_.country,
where(Country.class)
.eq(Country_.name, countryName)
)
.getResultList();



findByCompany_Country_name(String countryName)



Kind regards,
Peter

Reply via email to