I'm working with Person.java.
This Hibernate Entity does not have any fields marked @Field.
Another class, Group.java is an Entity that has fields marked @Field.
@Field
private int id;
In this legacy code, I see queries for Group:
getEntityManager().createQuery("delete from group g where g.id =
:inputId").setParameter("inputId", givenId).getSingleResult();
However, I'm not sure how to make a Hibernate query for an Entity that has no fields.
Thanks, Kevin