Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1508
    Summary: Recursive id class support
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Hibernate Module
   Versions:
             1.2.3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Kelvin Fung

    Created: Wed, 17 Aug 2005 8:03 AM
    Updated: Wed, 17 Aug 2005 8:03 AM
Environment: Windows 2000/XP, Java 1.5.0_04

Description:
This is related to bug XDT-1013 (Recursive component prefix support)
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1013

Lets suppose that you have:

public class Person {
  private Address homeAddress;
  private Address workAddress;
  ...

  /**
   * @hibernate.id class="Address" prefix="home_"
   */
  public Address getHomeAddress() {
  ...
  }

  /**
   * @hibernate.component class="Address" prefix="work_"
   */
  public Address getWorkAddress() {
  ...
  }
}

and that the Address also has a component like:

public class Address {
  private Country country;
  ...
  /**
   * @hibernate.component class="Country" prefix="country_"
   */
  public Country getCountry() {
  ...
  }
}

Let's suppose country has a code property.
Then, the Person.hbm.xml generated does not contain country code property in 
the id.

P.S. The recursive behaviour is supported for component tag but not the case 
for id tag


---------------------------------------------------------------------
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 the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to