Skip to:
Currently there's no way to do select child from parent.child in the criteria API. You can do an AliasToEntityMap transform and just grab the children, but that's probably a bit more heavy than the hql alternative.
Criteria has projections
Currently there's no way to do select child from parent.child in the criteria API. You can do an AliasToEntityMap transform and just grab the children, but that's probably a bit more heavy than the hql alternative.