Simon, you are not subscribed to the list I guess. So you are missing the replies to your original message. Please check the archives. There were some: http://www.mail-archive.com/user@cayenne.apache.org/msg09239.html
Andrus > On Mar 28, 2016, at 3:12 PM, Simon Farner <s.far...@bluewin.ch> wrote: > > Hello everybody > > I am trying to get the book/ebook/paper_book example to work with > Cayenne Modler 4.0.M3, but it wont validate. This is the third time I > try this and I really need to get this working now, I am not very keen > on a road block meeting and switching to another ORM. > > 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 > > 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. > > Example: "ObjRelationship book.eBook has incomplete DbRelationship > mapping" > > I then go to Book ObjEntity and open both relationships to the subclass > once, but I change nothing. Opon closing I am asked if I want to save > my changes, because I some how have magically modified the path. I say > yes. Then I validat again and all but two complaints are gone. Left > over are: > > "ObjRelationship EBook.book has incomplete DbRelationship > mapping" > "ObjRelationship PaperBook.book has incomplete DbRelationship > mapping" > > Those are the relation ships pointing back from the subclasses to the > super clases. I can't fix them. When I open the edit dialog and book is > allready pre selected as target.##SELECTION_END## > > Can please someone help me to find out what I am doing wrong? I kind of > feel stupid about asking here, because it is so trivial :/ But I really > need this working. 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 > > Best regards and thanks to everybody for helping > Simon