Reports property type mismatch for JPA attributes.

Example:



  @Entity
  public class JavaEntity {

    @OneToOne
    Map incorrectRelationship; // Error: 'One To One' attribute type should be an entity, not a map

    @ManyToMany
    Map correctRelationship;
  }