Maintaining Single-Table Inheritance in EOModeller?
Ashley Aitken <[email protected]> Fri, 9 Jul 2004 00:25:35 +0800
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
Howdy All, I am doing something with single-table inheritance in EOF using EOModeller. I have an entity A corresponding to a base class A mapping to table TA. I have several entities B, C, ... corresponding to subclasses of A mapping to the same table TA. A has a lot of attributes and relationships. I have set this up using the Property > Create Subclass menu item. My problem is that every time I make changes to entity A it seems I have to either manually edit the entities B, C, ... or delete them and recreate them as subclasses. This is a maintenance nightmare (for me at least). Is this true or am I missing something? I thought at least the changes in entity A would automatically show up in B, C, ... but it seems subclassing in EOModeller just does a one-time copy. Another reason for a new version of EOModeller? Cheers, Ashley. -- Ashley Aitken Perth, Western Australia mrhatken at mac dot com