HBM 'properties' element not honouring multi-column constraint

Description

I have the following mapping:

that used to generate the following constraint on Hibernate 4.3:

after upgrading Hibernate, it now generates:

Environment

Hibernate 5.1.0, 5.2.1 - tested with H2 and Postgresql

Activity

Show:
Alejandro Revilla
July 30, 2016, 2:40 AM

Playing with the test case I found a work-around for my use case, using unique-key.

Assignee

Unassigned

Reporter

Alejandro Revilla

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure