Continue from other forum. at First answers then my questions > > How can I map it?
Mappings only classes. > Ho can I make Office being a "subclass" both of > IHasPhoneNumbers and IHasCallList? > The problem is not Office but the fact that you want IHasPhoneNumbers and IHasCallList as root entities (without ID) as part of the same hierarchy (there isn't a hierarchy IHasPhoneNumbers and IHasCallList) and the fact that then the class Employee should be part of the same hierarchy. > (I'd ask: "can I use the @extends attribute more than once in a <class> > tag?") > No, you can't. Now my questions: Can you describe the representation of your domain in tables and columns ? Can you then describe how should look SQLs to upload one Office and then one Employee ? Only as guide: table-per-concrete-class When we will have the answers we can copy to the other forum too. -- Fabio Maulo -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
