Message:

  A new issue has been created in JIRA.

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

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-536
    Summary: relation many to many
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

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

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

    Created: Fri, 20 Jun 2003 3:44 PM
    Updated: Fri, 20 Jun 2003 3:44 PM
Environment: win2k, weblogic 7.0, oracle

Description:
How to define a bi-directional many to many relation with xdoclet?
i have the following code in the EJB USer
/**
     * @ejb.interface-method
     * @ejb.relation
     *      name="user-group"
     *      role-name="relation-user-group"
     *
     * @weblogic.relation
     * join-table-name="usergrouplink"
     *
     * @weblogic.column-map
     *      foreign-key-column="user_fk"
     *      key-column="userId"
     *
     */

and this one in the EJB Group:

/**
     * @ejb.interface-method
     * @ejb.relation
     *      name="user-group"
     *      role-name="relation-user-group"
     *
     *
     * @weblogic.relation
     *      join-table-name="usergrouplink"
     *
     * @weblogic.column-map
     *      foreign-key-column="group_fk"
     *      key-column="groupId"
     *
     */

and finally weblogic return this error:

Unable to deploy EJB: imsProject-ejb.jar from imsProject-ejb.jar:

java.util.NoSuchElementException
        at java.util.HashMap$HashIterator.next(HashMap.java:748)
        at 
weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoIm
pl.java:513)
...

Any ideas?

Thank



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