Hi Jordan It also looks like this feature was unsupport in Hibernate for quite a while until it was implemented in 2010:
https://hibernate.onjira.com/browse/HHH-4726 It was also discussed here for NHibernate https://forum.hibernate.org/viewtopic.php?t=961144&highlight=onetoone+cascade and I have found an open ticket about this https://nhibernate.jira.com/browse/NH-1262 The last update says: Oskar Berggren<https://nhibernate.jira.com/secure/ViewProfile.jspa?name=oskar.berggren>added a comment - 26/Mar/12 3:27 PM 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). I think I might have a go at implementing it, but don't have much time at the moment :-) Thanks Michael Thanks Michael On Thursday, 3 May 2012 09:36:35 UTC+1, Jordan wrote: > > Hi Michael, > > I'm starting to vaguely remember that this used to be a known missing > feature/bug with nhibernate: > > > http://groups.google.com/group/nhusers/browse_frm/thread/a48ba8c83114e64c/0f705226cf338d14 > > > regards, > Jordan > > > On May 2, 5:51 pm, Michael Charalambous > <[email protected]> wrote: > > Hi Ramon > > > > Its a strange one. I currently have a working solution using the list of > > sequence(s) approach but it is a bit of a hack. > > > > When removing the sequence I do the following > > > > host.Sequence.Host = null; > > host.Sequence = null; > > > > but this doesn't seem to make a difference. > > > > Thank you for all the links. I've read through the information and tried > > the different approaches they describe but with no luck. > > > > I'm going to do some further research tonight and have a look at the > > NHibernate source. Maybe I will strike it lucky! > > > > Thanks > > Michael -- You received this message because you are subscribed to the Google Groups "nhusers" group. To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/wUf7bJBttF0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
