bidirectionnal « Association « JPA Q&A

1. Hibernate: cannot delete parent object in a bidirectionnal association

I have a bi-directional association between two tables parent and child

<class name="child" table="child">
      <id name="id" column="id" />
      <many-to-one name="parent_id" column="parent_id" 

4. Bidirectionnal Association one to many / many to one

Hello, I follow 7.4.1 example in online documentation : How is multiplicity handled in POJO's ? Can i have in Person : Set and in Adress : Set ??? Thans for ...