Show Table of Contents
14.4. Forms of join syntax
HQL supports two forms of association joining:
The queries shown in the previous section all use the
explicitform, that is, where the join keyword is explicitly used in the from clause. This is the recommended form.
implicitform does not use the join keyword. Instead, the associations are "dereferenced" using dot-notation.
implicitjoins can appear in any of the HQL clauses.
implicitjoin result in inner joins in the resulting SQL statement.
from Cat as cat where cat.mate.name like '%s%'