ElementCollectionMapTest contains unnecessary MapKeyJoinColumn

Description

The ElementCollectionMapTest demonstrates how a Map from an embedded type to a timestamp is implemented. It contains a MapKeyJoinColumn annotation, which is only useful when the map key is an entity, not an embeddable.

Since the test runs fine without that annotation and since the phone_id doesn't make sense for an @Embeddable Phone, that line should be removed.

Environment

None

Attachments

Assignee

Unassigned

Reporter

Roland Illig

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure