[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1623?page=comments#action_17557 ]
Roberto Lo Giacco commented on XDT-1623: ---------------------------------------- I experienced the problem when using a one-to-one mapping using the same id for two rows. In this case the id property needs a generator parameter with the tag value populated with the name of the entity/table with the same id. At runtime Hibernate throws an exception regarding the one-to-one property not present. Debugging the hibernate code I discovered the one-to-one property name was "\n property\n" and checking the mapping file I discovered the extra spaces and indentation present in the param tag. Eliminating those spaces and line feeds I resolved the problem. > Generator parameters failed because of tags indentation > ------------------------------------------------------- > > Key: XDT-1623 > URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1623 > Project: XDoclet > Type: Bug > Components: Hibernate Module > Versions: 1.3 > Reporter: Roberto Lo Giacco > Assignee: xdoclet-devel (Use for new issues) > Attachments: param_patch.txt > > > Too much spaces and newlines have cluttered the param attribute inducing > hibernate to break. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/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-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel