Hi all,

I knew that we can use @jboss:relation-table to create
a relation table for an M:M relationship. But what
could i do when i need an attribute on this
relationship ?
For example, i have the M:M relationship between
student and certification: 
STUDENT       LEVEL                 CERTIFICATION
---------     -----------           ------------
stdID          stdID                cerID
stdNAME        cerID                cerName
               level

Moreover, i use:
 * @jboss.relation-mapping style="relation-table"
 * @jboss.relation-table table-name="LEVEL"

Everythign is OK except "level" attribute. Does
XDoclet has any tag to declare "level" attribute on
the LEVEL ?
Everything seems to be very easily if i use the
approach of splitting my M:M CMR relation into 2 N:1
relation. But i need the confirmation of declaring
tags to define attribute on M:M relationship.
I have already seen a similar question on this forum.
It was about how to declare ejb:finder on the M:M
relationship, but it has no answers uptill now.
Wait for all your answers, 
thanks in advance,


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
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-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to