How about reading the dokumentation?
https://www.hibernate.org/hib_docs/v3/a ... tchMode%29Quote:
setFetchMode
public Criteria setFetchMode(String associationPath,
FetchMode mode)
throws HibernateException
Specify an association fetching strategy for an association or a collection of values.
Parameters:
associationPath - a dot seperated property path
mode - The fetch mode for the referenced association
Returns:
this (for method chaining)
Throws:
HibernateException
https://www.hibernate.org/hib_docs/v3/a ... hMode.htmlGreetings Michael