示例:
@Entity public class JavaEntity { @OneToOne Map<Integer, AnotherEntity> incorrectRelationship; // 错误:'One To One' 特性类型应该是 Entity,而不是 Map @ManyToMany Map<Integer, AnotherEntity> correctRelationship; }