| 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. |