Re: flattened relationships

From: Jonathan Carlson (Jonathan.Carlso..atun.com)
Date: Fri Jul 02 2004 - 13:02:04 EDT

  • Next message: Mike Kienenberger: "Database reconnect support? [Oracle 9i]"

    You should not need a join/associative table for a one-to-one relationship between two tables. Just make the second table have the same primary key as the first table.

    Hope this helps,

    Jonathan

    >>> "Michele Cuozzo" <miccu..csys.it> 2004-07-02 10:16:50 AM >>>
    Hello!!
    I need some help again.... I've modeled a one to one relationship between two tables using a join table (a table having two fields referring to the ids of the two tables), the problem follows

    org.objectstyle.cayenne.CayenneRuntimeException: [v.1.1M7_1 June 15 2004] Cannot set the read-only flattened relationship thematicCatalogueNumber

    what does it mean?

    thanks in advance

    Michele Cuozzo
    Advanced Computer Systems S.p.A.
    Multimedia Division
    Via della Bufalotta, 378
    00139 Rome (Italy)
     
    Tel. +39 06 87090517
    Cell. +39 339 8456314
    e-mail m.cuozz..csys.it
    web http://www.acsmultimedia.com

    *********************************************************************************
    This email and any files transmitted with it are confidential and
    intended solely for the use of the individual or entity to whom they
    are addressed. If you have received this email in error please notify
    the system manager.

    Katun Corporation -- Celebrating 25 Years of Service
    www.katun.com
    *********************************************************************************



    This archive was generated by hypermail 2.0.0 : Fri Jul 02 2004 - 13:02:47 EDT