[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1586?page=comments#action_17429 ]
Andrew Stevens commented on XDT-1586: ------------------------------------- The hibernate templates have gone through a lot of changes since the 1.2.3 release; hibernate-properties.xdt doesn't even contain the many-to-one tag any more. From a brief look at the template code, I think the unique attribute should now only appear once, but could you please try the current CVS version and see if you can reproduce the problem? You'll need to build it from source, which you can get either by anonymous CVS (see SF project pages for details) or the daily source snapshot at http://xdoclet.sourceforge.net/xdoclet-cvs.zip > unique attribute for many-to-one tag generates mapping file with double > unique attribute > ---------------------------------------------------------------------------------------- > > Key: XDT-1586 > URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1586 > Project: XDoclet > Type: Bug > Versions: 1.2.3 > Environment: Hibernate 3.0.5, Java 1.4.2_05, Xdoclet 1.2.3 > Reporter: Lukasz Michonski > Assignee: xdoclet-devel (Use for new issues) > > > /** > * @hibernate.many-to-one class = "TransactionStarter" column = "TS_ID" > unique = "true" > */ > public TransactionStarter getXxx(){ > return transactionStarter; > } > generates: > <many-to-one > name="xxx" > class="TransactionStarter" > cascade="none" > outer-join="auto" > update="true" > insert="true" > unique="true" > column="TS_ID" > unique="true" > /> -- 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel