Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-713


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-713
    Summary: let <key> to support multi-column
       Type: Improvement

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Hibernate Module
   Versions:
             1.2 Beta 3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Jack Zhuo

    Created: Sat, 15 Nov 2003 9:52 PM
    Updated: Sat, 15 Nov 2003 9:52 PM
Environment: Windows 2000 pro & Linux

Description:
Now, I have a project using multi-column <key>, I find that the original xdoclet 
configuration does not support this feature, so I change the hibernate-collections.xdt 
in xdoclet-hibernate-module-1.2b4.jar.

before modified: 
          <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key"> 
              <key 
                <XDtHibernate:setCurrentTag name="hibernate.collection-key" 
mappingElement="key"> 
                  <XDtMerge:merge 
file="xdoclet/modules/hibernate/resources/hibernate-column.xdt"> 
                  </XDtMerge:merge> 
                </XDtHibernate:setCurrentTag> 
          </XDtMethod:ifHasMethodTag> 


after modified: 
          <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key"> 
              <key 
                <XDtConfig:ifConfigParamEquals paramName="version" value="2.0"> 
                  <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key" 
paramName="foreign-key"> 
                    foreign-key="<XDtMethod:methodTagValue 
tagName="hibernate.collection-key" paramName="foreign-key" />" 
                  </XDtMethod:ifHasMethodTag> 
                </XDtConfig:ifConfigParamEquals> 
                <XDtConfig:ifConfigParamEquals paramName="version" value="1.1"> 
                  <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key" 
paramName="length"> 
                    length="<XDtMethod:methodTagValue 
tagName="hibernate.collection-key" paramName="length"/>" 
                  </XDtMethod:ifHasMethodTag> 
                </XDtConfig:ifConfigParamEquals> 
                <XDtHibernate:setCurrentTag name="hibernate.collection-key" 
mappingElement="key"> 
                  <XDtMerge:merge 
file="xdoclet/modules/hibernate/resources/hibernate-column.xdt"> 
                  </XDtMerge:merge> 
                </XDtHibernate:setCurrentTag> 
          </XDtMethod:ifHasMethodTag> 

I try this int my project, it works 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: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to