Omit join map key table if possible

Description

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.

Environment

None

Assignee

Christian Beikov

Reporter

Christian Beikov

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure