@IdClass with DefaultComponentSafeNamingStrategy results in duplicate id_ and _identifiermapper_ columns

Description

This entity:

The key class is obvious but I mention here for completeness:

creates the following incorrect schema:

(note the excessive identifiermapper columns)

expected table structure is:

Workaround involves adding @Column(name=) manually, which works well with schema generation:

This bug was discovered while trying workarounds for HHH-9114.

Environment

PostgreSQL 9.3 using PostgreSQL9Dialect, DefaultComponentSafeNamingStrategy

Status

Assignee

Unassigned

Reporter

Hendy I.

Fix versions

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure