On 6/24/06, Jeff Chastain <[EMAIL PROTECTED]> wrote:
I have a simple db with 5 tables ... contact, address, state, country, and
contactAddress.  The contact can have one or more addresses and vice versa
(hence the linking table contactAddress).  The address then has a state and
a country.  So what have I missed here ...

I think the <link> tag needs a <relate> child to specify which columns
key in/out of the link table.

   <hasMany name="address">
    <link name="contactAddress" />
... need <relate> tag here? ...
   </hasMany>
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to