From: Boyan T. (JIRA) <nh...@gm...> - 2011-05-13 12:12:01
|
[ http://216.121.112.228/browse/NH-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Boyan Trushev updated NH-2704: ------------------------------ Attachment: NH2704_fix.patch It seems only changing of islazyProperty assignment in EntityMetamodel to include also the one-to-one properties with lazy="proxy" solves the problem. The patch contains the proposed solution. > Lazy="proxy" does eager load on one-to-one relation using property-ref > ---------------------------------------------------------------------- > > Key: NH-2704 > URL: http://216.121.112.228/browse/NH-2704 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0Alpha3 > Reporter: Boyan Trushev > Priority: Minor > Attachments: NH2704.patch, NH2704_fix.patch > > > Hi, > In our project we use one-to-one relations that are not referencing same primary key, instead property-ref is used to specify the referenced property. In this case however we have noticed that lazy="proxy" doesn't work as expected - the "lazy" objects are eagerly loaded on loading of the parent objec -- 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 |