posted 15 years ago
Hi Ranchers ,
I am having a doubt with the usage of the cascade attribute during one to many and specified ths way:
<set name="appointments" lazy=true cascade="all">
<key column="apid"/>
<one-to-many class="Appontment"/>
</set>
what i mean to ask is that if we specify like this and when the parent row is deleted , and simultaneously is the child row is also deleted?? or is it vice versa??
If you want something you never had do something which you had never done