Cascade of "all-delete-orphan" not supported for one-to-one
Description
It would be useful if "all-delete-orphan" was supported as a cascade option for one-to-one mappings. If it is not to be supported then it would be useful if the schema disallowed it or if NHibernate threw an exception when you tried to use it.
There is no plan. Anyone willing to work on porting the feature should do so, and submit pull requests on github (preferably formatted for easy reviewing).
Former user March 21, 2012 at 12:47 PM
As mentioned, this is fixed in Hibernate. I was a bit suprised when I discovered that this feature lacks in NHibernate. Any plan for when this is fixed?
It would be useful if "all-delete-orphan" was supported as a cascade option for one-to-one mappings. If it is not to be supported then it would be useful if the schema disallowed it or if NHibernate threw an exception when you tried to use it.
This is related to the following forum entry:
http://forum.hibernate.org/viewtopic.php?t=961144&highlight=onetoone+cascade