Reports the following JPA specification errors:

Example:


  @Entity
  @Table(name = "TABLE")
  public class JavaEntity {

    private Integer id; // Error: both getter and setter should be present

    public Integer getId() { ... }



    private String data;

    public String getData() { ... }

    @Basic // Error: persistence annotation should be placed on field or getter method
    public void setData(String data) { ... }
  }