Re: [Objectbridge-developers] Sample Many-to-Many Mapping XML
Brought to you by:
thma
From: Christian S. <chr...@ne...> - 2001-05-29 22:22:42
|
Hi Thomas and all, as this touches one of my pet subjects ;-), I have to raise my voice here: >Right now this is exactly the thing you have to do! You need three tables to >decompose m-n into two 1-n relationships. Thus you also need three classes. >This approach is also suggested by the gurus: see >ftp://members.aol.com/kgb1001001/Chasms/chasms.pdf. Now what exactly makes someone a "guru"? Writing an article like that one? I think figuring out that you have to introduce an intermediary entity for an N-M relationship (unless your O/R tool handles them transparently) does not require deep understanding - its simply the only way to get there, as it directly reflects the table structure. just my 2c, as always Christian |