The following issue has been updated:

    Updater: Andrew Stevens (mailto:[EMAIL PROTECTED])
       Date: Thu, 4 Mar 2004 6:04 PM
    Changes:
             Version changed to 1.2
             Component changed to Hibernate Module
    ---------------------------------------------------------------------
For a full history of the issue, see:

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

---------------------------------------------------------------------
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
 Components: 
             Hibernate Module
   Versions:
             1.2

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

    Created: Tue, 20 Jan 2004 6:08 PM
    Updated: Thu, 4 Mar 2004 6:04 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



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to