Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1457

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1457
    Summary: hibernate 3 set tag generates 'role' attribute
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Hibernate Module
   Versions:
             1.2
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: duane musser

    Created: Tue, 5 Jul 2005 10:50 AM
    Updated: Tue, 5 Jul 2005 10:50 AM
Environment: fedora core 3, maven 1.0.2, /usr/java/jdk1.5.0/bin/java

Description:
with this (extract of the juicy part) code, i get the results listed below.  I 
appologize for not looking in the code, or researching this more.  However, it 
looks like a quick fix for someone who knows your code.

code:
/**
 * @hibernate.class table="registration"
 */
public class Registration implements Serializable {

private Set chaperons;

/**
* @return Returns the chaperons.
* @hibernate.set lazy="true" cascade="all"
* @hibernate.collection-key column="registration_id"
* @hibernate.collection-one-to-many class="ai.fssa.icssbm.objects.Chaperon"
*/
public Set getChaperons() {
        return chaperons;
}
/**
 * @param chaparons The chaperons to set.
 */
public void setChaperons(Set chaperons) {
        this.chaperons = chaperons;
}
}

results:
 <set
            role="chaperons"
            lazy="true"
            readonly="false"
            cascade="all"
            sort="unsorted"
        >
              <key
                  column="registration_id"
              >
              </key>
              <one-to-many
                  class="ai.fssa.icssbm.objects.Chaperon"
              />
        </set>

I really believe "role" should be "name".



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



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to