Greetings,

I'm trying to define a relationship between 2 entity beans (1:N) but I'm
unable to define it well: I'm getting always errors when deploying in
jboss.

Primitive
---------
primitive_id (PK)


PrimitiveParam
--------------
primitive_param_id (PK)
primitive_id (FK)

How should I define this relationship?

I already tried to remove the "target" attibutes in @ejb, add/remove the
@[EMAIL PROTECTED] but I always got errors.

I would like to hear a explanation about the use of this tags because I
don't think the definition in xdoclet is very comprehensive, at least
for me.

thanks in advance!

my xdoclet tags:

@ejb.interface-method
     *  view-type="local"
     * @ejb.relation 
     *  name="primitive_TO_primitive_param"
     *  role-name="primitive_HAS_primitive_params"
     *  cascade-delete="no"
     *  target-ejb="PrimitiveParam"
     *  target-role-name="primitive_param_BELONGS_TO_primitive"
     *  target-cascade-delete="no"
     *  target-multiple="yes"
     * @jboss.relation
     *  related-pk-field="primitiveId"
     *  fk-column="primitive_id"
     * @jboss.target-relation
     *  related-pk-field="primitiveId"
     *  fk-column="primitive_id"

regards,

Pedro Salazar
-- 
-PS



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to