[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Primary and Foreign Keys

  • From: Ronald Bourret <rpbourret@r...>
  • To: xml-dev <xml-dev@l...>
  • Date: Tue, 24 Jul 2001 23:03:55 -0700

join table primary foreign
"Thomas B. Passin" wrote:

> Another situation would arise if a table is a "join" table (Mike Gorman's
> term is more charming, though: "intertwinkle" table).  That generally means
> a many-to-many relationship.  The primary key for a join table is usually
> compound, which leaves ID/IDRef out unless you use two of them in each
> element.

I like intertwinkle.

Many-to-many relationships cause a special problem with nesting. When
using a canonical object-relational mapping, they result in an extra
element (representing the join row) between the elements corresponding
to the joined rows. This element usually needs to be removed by XSLT or
by smarts in the data transfer software.

-- Ron


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.