DDL generation fails for an indexed column when a corresponding attribute doesn't define physical mapping using @Column

Description

Failing entity definition:

Stacktrace:

Workaround #1 (with a superfluous @Column definition):

Workaround #2 (with logical column name usage):

My assumption is that columnNames attribute of @Index annotation are physical values, whereas code in the method
org.hibernate.boot.internal.InFlightMetadataCollectorImpl#buildUniqueKeyFromColumnNames starting on the line 2013 works with it as if it were logical values.

Environment

None

Status

Assignee

Unassigned

Reporter

Roman Golovan

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure