The required annotations to enable a pojo to be used with data-jpa are

@Entity which turns the class into an Data-JPA Entity @Table(name = ”<>”) which shows which table the POJO maps to in the db