Tried but nothing changed.
Blog: http://www.cnblogs.com/JeffreyZhao/ Twitter: http://twitter.com/jeffz_cn -------------------------------------------------- From: "hival" <[email protected]> Sent: Saturday, August 15, 2009 11:09 PM To: "nhusers" <[email protected]> Subject: [nhusers] Re: Lazy load of one-to-one association > > Try to specify constrained="true" in the User's side of the <one-to- > one> association.I'm not sure whether it is correct but it works. It > seems that NH doesn't look at the other side of the one-to-one assoc. > to find out whether the assoc. is optional or not. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
