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
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?
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).
Added pull request for this issue. See https://github.com/nhibernate/nhibernate-core/pull/171
Merged to master @ 9a91dbb30492c08aef71c764ce7f43c63930ad05
Closing issues resolved in 4.1.0