I have three entities, the entity convention has a list of activity type, and the activity type has a list of specialities, each has a relation @OneToMany with the other.