[ http://jira.codehaus.org/browse/XDP-168?page=all ]
Konstantin Pribluda reassigned XDP-168: --------------------------------------- Assign To: Konstantin Pribluda > hibernate 3.1 lazy attribute generation issue on many-to-one and one-to-one > mappings > ------------------------------------------------------------------------------------ > > Key: XDP-168 > URL: http://jira.codehaus.org/browse/XDP-168 > Project: XDoclet 2 Plugins > Type: Bug > Components: hibernate > Versions: 1.0.3 > Environment: XDoclet2 plugins 1.0.3, generation for Hibernate 3.1 mapping > Reporter: Julien Jakubowski > Assignee: Konstantin Pribluda > Priority: Blocker > > > The following tag : > /** > * @hibernate.many-to-one lazy="proxy" > * @hibernate.column name="ADDR_A" > * @hibernate.column name="ADDR_B" > */ > private Address address; > should generate this : > <many-to-one lazy="proxy" access="field" name="address"> > <column name="ADDR_A"/> > <column name="ADDR_B"/> > </many-to-one> > but it generates lazy="false" instead of lazy="proxy": > <many-to-one lazy="false" access="field" name="address"> > <column name="ADDR_A"/> > <column name="ADDR_B"/> > </many-to-one> > so the generated mapping doesn't work on Hibernate 3.1 : lazy must be : > false, proxy or no-proxy. > There is no problem on Hibernate 3.0 since lazy must be : false or true on > this version. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest