Hi,

> You don't need a extra bean for the mapping.
> In the example I sent you, the mapping between
> person and drink in m:n.
> 
> Have a look at 
>      * @jboss.relation-mapping
> style="relation-table"
>      * @jboss.relation-table
> table-name="Drink_Person_rel"
>      *  create-table="true"

Sure, it helps me a lot.
I forget to highlight a thing : the relationship table
I use also point to a third table that holds the
status of the relationship.

to be clearer :

table TaskTOPerson
*Id
IdTask
IdPerson
IdStatus

table Task
*Id
...

table Person
*Id
....

table Status
*Id
Name (On time, Late, Closed, Aborted ...)


With a regular relationship model like the
Person<->Drink, I can't pick the relationship key to
set a status, can I ?

thanks,
ionel

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to