To Dep PK and compound keys

From: Tore Halset (
Date: Fri Mar 05 2004 - 08:06:59 EST

  • Next message: Tore Halset: "Re: To Dep PK and compound keys"


    I am using cayenne-1.0.6 and have the followin tables


    Here are the primary keys:

    TableB should get its primary key values from tableA and tableC. I have
    set the relation from tableC->tableB as "To Dep PK", but the modeler
    will not let me set the relation from tableA->tableB as "To Dep PK".

    inserting objects into tableA does not work. cayenne are not able to
    generate the primary keys.

    What am I doing wrong here?

      - Tore.

    This archive was generated by hypermail 2.0.0 : Fri Mar 05 2004 - 08:07:07 EST