Specify class-level annotation @Entity. This lets JPA runtime to know that this particular class should be treated as an entity. Specify field-level annotation @Id for id field. This lets JPA runtime ...