例:
@Entity public class JavaEntity { @OneToOne Map<Integer, AnotherEntity> incorrectRelationship; // エラー: 'One To One' 属性の型は Map ではなく Entity にする必要があります @ManyToMany Map<Integer, AnotherEntity> correctRelationship; }