Message:

   The following issue has been re-assigned.

   Assignee: René Zanner (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-536

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

     Status: Open
   Priority: Major

 Original Estimate: 0 minutes
 Time Spent: Unknown
  Remaining: 0 minutes

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

   Assignee: René Zanner
   Reporter: reeves

    Created: Fri, 20 Jun 2003 3:44 PM
    Updated: Tue, 25 Jan 2005 1:07 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/secure/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: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to