@hibernate.many-to-one unique="true" produces duplicated unique attribute in 
the hibernate mapping file.
--------------------------------------------------------------------------------------------------------

         Key: XDT-1665
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1665
     Project: XDoclet
        Type: Bug

  Components: Hibernate Module  
    Versions: 1.2.3    
 Environment: Windows XP
    Reporter: Krzysztof Hycnar
 Assigned to: xdoclet-devel (Use for new issues) 


This annotation:

    /**
     * @hibernate.many-to-one class="pl.addcom.df.Employee" name="deputy"
     *                        column="deputy_id" not-null="true" cascade="none"
     *                        unique="true"
     * 
     * @return Returns the deputy.
     */

produces that entry in the hibernate mapping file:

       <many-to-one
            name="deputy"
            class="pl.addcom.df.Employee"
            cascade="none"
            outer-join="auto"
            update="true"
            insert="true"
            unique="true"
            column="deputy_id"
            not-null="true"
            unique="true"
        />

The problem is duplicated "unique" attribute, and this in turn causes 
schemaexport task to end with an error.

-- 
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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to