Hi again,
CMR relation tables are many to many relationships as described in the spec. This 
means defining both CMR fields (for each entity bean) as Collections, and of course 
the multiplicity as many.

The mapping to the database is quite specific to each application server.
For JBoss, all the mapping is done in jbosscmp-jdbc.xml. The relation table is 
described in a tag named <relation-table-mapping>.

If you are a newbee, I suggest you to download the JBoss IDE under Eclipse, and use 
XDoclet to generate all this staff. You can have a look to the XDoclet documentation 
at http://xdoclet.sourceforge.net/.
Also, have a look in the Persistence & CMP/JBoss forum where these specifics topics 
had been posted many times.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832246#3832246

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832246


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to