Message: The following issue has been re-assigned.
Assignee: David Channon (mailto:[EMAIL PROTECTED]) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1166 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1166 Summary: Inverse attribute missing in Hibernate generated mappings Type: Bug Status: Open Priority: Major Original Estimate: 1 hour Time Spent: Unknown Remaining: 1 hour Project: XDoclet Components: Hibernate Module Versions: 1.2.1 Assignee: David Channon Reporter: Alexandre ROMAN Created: Wed, 24 Nov 2004 9:25 AM Updated: Mon, 2 May 2005 6:11 PM Environment: maven 1.0.1, xdoclet 1.2.1, hibernate 2.1.7 Description: I'am using XDoclet plugin together with maven to generate my Hibernate mappings. I've setup in my project.properties the Hibernate version property to the value 2.1, as indicated here : http://www.hibernate.org/134.html. Since I use Hibernate 2.1.x, I choose to set the version number to 2.1 for XDoclet. When I generate my mappings, I noticed that the inverse attribute on list and bags weren't generated by XDoclet. In fact, they are completly missing in my .hbm.xml files, although they are in my Java source files. After looking in the CVS sources today, I found the following lines in the file hibernate-properties.xdt : <XDtConfig:ifConfigParamEquals paramName="version" value="2.0"> inverse="<XDtMethod:methodTagValue tagName="hibernate.list" paramName="inverse" values="true,false" default="false"/>" Obviously, if the version is not set to 2.0, the inverse attribute is not generated. When I set the version attribute to 2.0 in my project.properties, everything is fine ! --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel