When I read about cascade and inverse it is said that both are doing totally separate things. Cascade: In cascade, after one operation (save, update and delete) is done, it decide whether it need to call other operations (save, update and delete) on another entities which has relationship with each other. Inverse: This is used to decide which side is the relationship owner to manage the relationship (insert or update of the foreign key column).
Lets say i save parent that has some children. So when i set one-to-many with inverse="true" cascade="all" on one hand I want that child is owner of the relationship, so saving parent should change children collection, however when I add cascade="all" hibernate would change this behaviour and persist children.
So how they are different if cascade changes behaviour of inverse?