Hi,

I have run into an issue when deleting an entity in a one-to-one
relationship using cascade.  I get an exception stating "deleted
object would be re-saved by cascade (remove deleted object from
associations)".  The only way to supress this is to visit the
otherside of the relationship and set the reference back to yourself
to null.

So not to repeat myself I will give you a link to my StackOverflow
post, where someone suggested posting on this list to see if you guys
could help out.

http://stackoverflow.com/questions/1996860/cascade-issue-when-deleting-an-entity-in-a-one-to-one-relationship-using-fluent-n

I am using Fluent, but I have added the xml mappings to the end of the
post.

Thanks for any help :)
-- 
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