SchemaExport should use @UniqueConstraint key name when @UniqueConstraint and @Column(unique = true) are redundant

Description

Consider this entity:

It contains redundant uniqueness information on the name column, via @UniqueConstraint and @Column(unique = true). The @UniqueConstraint specifies a name. Yet, when generating DDL from this table using SchemaExport, the name is not taken into consideration, but a synthetic name is generated for the unique constraint.

Environment

None

Assignee

Unassigned

Reporter

Lukas Eder

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

Major
Configure