Message:

  A new issue has been created in JIRA.

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

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-778
    Summary: Multiple column key with Set
       Type: Bug

     Status: Open
   Priority: Blocker

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Glen Schrader

    Created: Tue, 20 Jan 2004 6:08 PM
    Updated: Tue, 20 Jan 2004 6:08 PM

Description:
I need to have the ability to have multiple key columns for sets.  So for the given 
xdoclet tags:

/**
 *
 * @hibernate.set lazy="true" inverse="true" cascade="all-delete-orphan"
 * @hibernate.collection-key column="XXX_ID"
 * @hibernate.collection-key column="YYY_ID"
 * @hibernate.collection-one-to-many class="com.blah.Z"
 */
public Set getFoo()
{
        return foo;
}

I would want this mapping created:

<set name="foo" lazy="true" inverse="true" cascade="all-delete-orphan" sort="unsorted">

        <key>
                <column name="XXX_ID"/>
                <column name="YYY_ID"/>
        </key>

        <one-to-many class="com.blah.Z"/>
</set>

I've enhanced the hibernate-collections.xdt to support this and will attach a patch 
file.



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



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to