Hello everyone!

I have a project where I would prefer to use database triggers to
perform one shot deletes. However I would still like to take advantage
of save-update and delete-oprhan cascades. But I don't want to cascade
collections when actually deleting the parent.
For an inversed one-to-many collection I can actually get this working
by setting on-delete="cascade" however on many-to-many collections
nhibernate always deletes the reference from the junction-table, even
if I set cascade="none".

I am running 2.1.2

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
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.

Reply via email to