1. Hibernate - Setting a cascade persist just for one session stackoverflow.comI have this relation in Hibernate:
The cascade types in the @OneToMany from A to B ... |
2. after cascade no need session.save() forum.hibernate.orgI still do not understand the why after cascade=all, we do not have to call the save()? Can anyone explain to me? The explicit call to save() is still annoying. We will address this by using cascades. |