When joining a collection table for a map association that has an entity type as key, the table for the key is always joined. The join should only be rendered if non-map-key-join-columns are used i.e. KEY(alias).id should result in the join being rendered. |