From: Ricardo P. (JIRA) <nh...@gm...> - 2011-04-11 07:53:06
|
[ http://216.121.112.228/browse/NH-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20877#action_20877 ] Ricardo Peres commented on NH-2638: ----------------------------------- Fabio, No, I don't: I have specified all five of them (Field, Property, None, NoSetter and ReadOnly), you can try it yourself. The property is never set. It does work if mapped through hbm.xml, without any problems. It the class is not lazy, then I don't even need to specify the accessor. > Id Property With Private Setter Not Set With Lazy Classes > --------------------------------------------------------- > > Key: NH-2638 > URL: http://216.121.112.228/browse/NH-2638 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0 > Reporter: Ricardo Peres > Attachments: Test.cs > > > When I have a class with a private id setter, if the class is lazy, then the id is not set. > No exception occurs, it simply is not set. Mapping is done with the new mapping by code. > Tested with the trunk version, as of 00:00. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |