/** * Override on subclasses to enable or suppress joining * of certain association types */ protected boolean isJoinedFetchEnabled(AssociationType type, FetchMode config) { return type.isEntityType() && isJoinedFetchEnabledInMapping(config, type) ; }