hi all,
i have a GroupBean and UserBean which have 1-->Many cmr.
a group can have many users, and each user has only one group.
i am trying to deploy in weblogic and i have put following tags in Groupbean
/**
* @ejb.interface-method
* @ejb.relation
* name="GroupsHaveUsers"
* role-name="GroupHasUsers"
* target-ejb="User"
* target-role-name="GroupsHaveUsers"
* target-multiple="yes"
*/
public abstract Collection getUsers();
and following in UserBean
/**
* @return return the User associated to this UserInfo
* @ejb.interface-method
* view-type="local"
* @ejb.relation
* name="GroupsHaveUsers"
* role-name="UsersInGroup"
* @weblogic.column-map
* foreign-key-column="groupid_fk"
* key-column="name"
*/
but i am still getting this in ejb-jar.xml
<ejb-relation>
<ejb-relation-name>GroupsHaveUsers</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>GroupHasUsers</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Group</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>users</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>UsersInGroup</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>User</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>group</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
can anyone help me in finding out what's wrong?
with best regards
marco
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user