With an entity, the relation between the database tables can be expressed using a relationship. With Cosminexus JPA Provider, you can set an entity relationship.