SQL from single table inheritance

Julian Gómez <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
This seems like a basic question, but I haven't found anything about  
it yet.

I have an entity with a half dozen subclasses. The amount of data is  
fairly small, so I set up with single table inheritance. However, the  
generated SQL is not working out. If I click on the main class, it  
generates SQL for it only (it's abstract). If I click on a subclass,  
it generates SQL only for the subclass. How do I get the SQL for the  
table which is the union of all the subclasses, i.e. the one parent  
class table with all the columns anybody will ever need?

I'm using EOModeler still; I wasn't able to get XCode to even enable  
the menu item to generate SQL.

Thanks.

______________________________
immi
Julian Gómez
Senior Applications Engineer
o: 650.572.3238
m: 650.483.6107
e: [email protected]

www.immi.com
1510 Fashion Island Blvd. Suite 300
San Mateo, CA 94404
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.