@ElementCollection does not store duplicates: add test and documentation

Description

The problem is that two identical embedded in an association have the same RowKey.
The RowKey is used as key in maps and when we create the map the last RowKey overrides the previous one.

Is it possible to check adding this test to EmbeddableExtraTest:

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Davide D'Alto

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Priority

Major
Configure