If JPA's @Id annotation is given, one can omit the @DocumentId annotation. I suppose the same should be doable for @EmbeddedId.
From the forum: https://forum.hibernate.org/viewtopic.php?f=9&t=1042468