-
1. Re: many to many CMR
index Oct 24, 2002 1:26 PM (in response to index)hi, is there anyone?
I just wonder how these examples work at all - there are no relationships declarations in jbosscmp-jdbc.xml
Aren't these declaration supposed to be there?
Milan -
2. Re: many to many CMR
zeroshot Nov 6, 2002 5:59 AM (in response to index)i was impressed on how jboss did this i declared a many-many relationship in the ejb-jar.xml and jboss created the link table on its own with the necessary stuff needed
-
3. Re: many to many CMR
slaboure Nov 13, 2002 11:10 AM (in response to index)Hello,
By default, JBoss can take decision by itself if you don't specify anything. Consequently, most CMP2 applications do not require a jboss specific deployment descriptor at all (at least during prototyping, when you don't care about table names, etc.)
Cheers,
sacha -
4. Re: many to many CMR
destr0 Feb 15, 2003 12:40 AM (in response to index)Okay, so I finally found out that jboss will generate the linking table on it's own for a many to many relationship. But is it possible to map a pre-existing linking table for the link between two tables in a many to many relationship? I can't find any examples of how to do this in the orielly book, or in the jboss-specific workbook. I just want to use a pre-existing link table that I already have.
-
5. Re: many to many CMR
slaboure Apr 27, 2003 9:04 AM (in response to index)Yes, this is described in the JBossCMP specific book in details.
Cheers,
sacha -
6. Re: many to many CMR
musophil Nov 22, 2003 6:23 AM (in response to index)I believe the J2EE Patterns book available at www.theserverside.com provides a good clear explination of different approaches to achieving CMR with or without control control by the container.
Its a good book, although lacks XDoclet.