Message:

  A new issue has been created in JIRA.

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

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-542
    Summary: Cannot get <cmp-field-mapping> element generated for relations in Orion 
module
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

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

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

    Created: Mon, 23 Jun 2003 4:30 AM
    Updated: Mon, 23 Jun 2003 4:30 AM

Description:
If entity bean A has a relationship (e.g. 1:1) with entity bean B, and the 
orion-persistance tag is used thus:

package foo;

/**
 *  ...
 */
public abstract class BeanA implements EntityBean
{

  ...

  /**
    * @ejb.interface-method view-type="local"
    * @ejb.transaction      type="Required"
    * @ejb.relation
    *    name=".:0000000000000E6F"
    *    role-name="RelatedB"
    *
    * @orion:persistence
    *   ejb-class-name="foo.BeanB"
    */
  public abstract foo.BeanB getRelatedB();

  ...
}

Then no <cmp-field-mapping> element is generated for this relation in the 
orion-ejb-jar.xml file. 

Similar problems exist with 1:N and M:N relationships.

This could be pilot error as there are no docs for the ejb-class-name parameter of the 
orion:persistence tag, but it's hard to tell what's going wrong here.



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