Missing unique constraint for many-to-many with unique=true in list mapping

Description

You can find a description of this issue in the Hibernate forum:
https://forum.hibernate.org/viewtopic.php?f=1&t=1043611

I'll attach a test case for this in a minute.

Environment

H2Dialect (Hibernate Test Templates) on Windows 7
PostgreSQLDialect

Status

Assignee

Andrea Boriero

Reporter

Holger Brands

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.0.10
5.2.2
5.1.1

Priority

Major
Configure