Found the *Hibernate *JIRA issue for that
https://hibernate.onjira.com/browse/HHH-1594

2012/8/4 Alexander I. Zaytsev <[email protected]>

> Does anyone know why there is check
>
> if (Key.IsCascadeDeleteEnabled && (*!IsInverse* || !IsOneToMany))
>
>
> https://github.com/nhibernate/nhibernate-core/blob/master/src/NHibernate/Mapping/Collection.cs#L387
>
>
> ?
>
> It prevents to use* on-delete="cascade"* in composition with *
> inverse="false"*
> *
> *
> I've removed this restriction and all works fine, so I do wonder - why?
>
>

Reply via email to