incorrect primary key for audit table of element collection property of entity

Description

The class Child is any Embeddable. So the table TestEntity_children has not a primary key. This may cause the problem.

generate this scheme:

This is wrong. this cause a children property must have only one element in it. Or not unique exception will be thrown!

Environment

mssql 2012, wildfly 10.1.0.Final

Status

Assignee

Chris Cranford

Reporter

Xj Chen

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.1.10

Components

Affects versions

Priority

Blocker
Configure