Message:

  A new issue has been created in JIRA.

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

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-537
    Summary: SunONE module does not scope references correctly in sun-cmp-mappings.xml
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

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

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Alan Boshier

    Created: Mon, 23 Jun 2003 3:38 AM
    Updated: Mon, 23 Jun 2003 3:38 AM

Description:
The sun-cmp-mappings-xml.xdt template incorrectly generates <cmr-field-mapping> 
elements for all references in a project, not just the ones scoped to the enclosing 
<entity-mapping> tag.

This is because the aforementioned template uses the <XDtEjbRel:forAllRelationships> 
tag to generate the references. A new tag needs to be introduced that only generates 
references in which a specified entity bean appears as a type of one or more of the 
endpoints.

Note also that for SunONE it is required to generate references for N:1 relationships 
as well as 1:N and M:N. i.e. an entity bean A on the "many" side of an N:1 
relationship needs a <cmr-field-mapping> entry for that relationship. Currently the 
<XDtEjbRel:forAllRelationships> code (in InterfaceTagsHandler.java) does not handle 
this.


---------------------------------------------------------------------
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/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: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to