Currently Hibernate allows one to set the FetchMode to SUBSELECT via annotations. However, it is not possible to set the FetchMode on a Criteria to SUBSELECT (note the mistmatch in potential values in org.hibernate.annotations.FetchMode and org.hibernate.FetchMode).
|