Hi again,

> What I am trying to achive is this: 
> https://cayenne.apache.org/docs/3.0/modeling-vertical-inheritance.html The 
> section in the 4.0 Version of the Guid is empty so I assumed this is still 
> valid.

Yes, it is.

> I strugle with the relationships between superclass table and subclass
> table. I set up two relation ships in BOOK
> 
>       Name:"paperBook",Target:"PAPER_BOOK", To Dep PK:True, To
> Many:False
>       Name:"eBook",Target:"E_BOOK", To Dep PK:True, To Many:False

This looks about right. 

> I then first create the ObjEntities for all three. Then I enter the
> type classifier field and set the inheritance. Afterwards I go to the
> two subclasses and map the two individual attributes they posses to the
> right subclass attribut. Then I save the project and the validation
> tells me that that all the ObjRelationships have uncompelte mappings.

[..]

We fixed a few similar issues in M3:

https://issues.apache.org/jira/browse/CAY-2047
https://issues.apache.org/jira/browse/CAY-2049

wonder if there are more to deal with.

> If someone wants to have a look at my example
> cayenne project I put it on my drop box: https://www.dropbox.com/s/uw82
> cl1yxkl3ohk/cayenne-project.xml?dl=0

Ok, that's cayenne.xml. Do you also have a *.map.xml? That's the main ORM file.

Andrus

Reply via email to